We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df53f37 commit af6eec4Copy full SHA for af6eec4
SConstruct
@@ -556,12 +556,11 @@ elif windows:
556
"/wd4800",
557
])
558
559
- # some warnings we should treat as errors:
560
- # c4099
561
- # identifier' : type name first seen using 'objecttype1' now seen using 'objecttype2'
562
- # This warning occurs when classes and structs are declared with a mix of struct and class
563
- # which can cause linker failures
564
- env.Append( CCFLAGS=["/we4099"] )
+ if not has_option("disable-warnings-as-errors"):
+ env.Append(
+ CCFLAGS=["/WX"],
+ LINKFLAGS=["/WX"],
+ )
565
566
env.Append( CPPDEFINES=[
567
"_CONSOLE",
0 commit comments