Nuke a lot of MSVC compiler warnings

This commit is contained in:
2015-01-10 21:30:16 -05:00
parent bd0dc55995
commit bd531f9ac4
47 changed files with 289 additions and 358 deletions

View File

@@ -22,6 +22,11 @@ using namespace legacy;
log << " " << #member << ": " << sizeof(temp_##what . member) << " bytes, offset " \
<< offsetof(what,member) << std::endl
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4101)
#endif
// This is just a function to output all known information about each struct and its members.
void debug_oldstructs(); // Suppress "no prototype" warning
void debug_oldstructs() {
@@ -452,3 +457,7 @@ void debug_oldstructs() {
}
#ifdef _MSC_VER
#pragma warning(pop)
#endif