Tone down a couple warnings

There have been a few cases of people thinking these are more important than they actually are
develop
lethosor 2020-08-02 12:55:36 -04:00
parent b1363af0b6
commit bb66ef32a7
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 6 additions and 2 deletions

@ -334,7 +334,7 @@ virtual_identity *virtual_identity::find(void *vtable)
return p;
}
std::cerr << "UNKNOWN CLASS '" << name << "': vtable = 0x"
std::cerr << "Class not in symbols.xml: '" << name << "': vtable = 0x"
<< std::hex << uintptr_t(vtable) << std::dec << std::endl;
known[vtable] = NULL;

@ -313,8 +313,12 @@ bool Plugin::load(color_ostream &con)
if (plug_git_desc_ptr)
{
if (strcmp(dfhack_git_desc, plug_git_desc) != 0)
con.printerr("Warning: Plugin %s compiled for DFHack %s, running DFHack %s\n",
{
std::string msg = stl_sprintf("Warning: Plugin %s compiled for DFHack %s, running DFHack %s\n",
*plug_name, plug_git_desc, dfhack_git_desc);
con << msg;
cerr << msg;
}
}
else
con.printerr("Warning: Plugin %s missing git information\n", *plug_name);