Fix 64-bit Visual Studio build

This commit is contained in:
Miguel Portilla
2014-04-15 18:46:55 -04:00
committed by Vinnie Falco
parent 3ca8bf5f98
commit 65f496fefb
6 changed files with 39 additions and 5 deletions

View File

@@ -335,10 +335,11 @@ if not USING_CLANG:
else:
# This disables the "You said it was a struct AND a class, wth is going on
# warnings"
more_warnings = ['-Wno-mismatched-tags']
more_warnings = ['-Wno-mismatched-tags'] # add '-Wshorten-64-to-32' some day
# This needs to be a CCFLAGS not a CXXFLAGS
env.Append(CCFLAGS = more_warnings)
# add '-Wconversion' some day
env.Append(CXXFLAGS = ['-O3', '-fno-strict-aliasing', '-pthread', '-Wno-invalid-offsetof', '-Wformat']+more_warnings+DEBUGFLAGS)
# RTTI is required for Beast and CountedObject.