[CMAKE/MSVC] C4200 doesn't look useful to us.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 5 Sep 2015 17:46:04 +0000 (17:46 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 5 Sep 2015 17:46:04 +0000 (17:46 +0000)
svn path=/trunk/; revision=69036

reactos/cmake/msvc.cmake

index 50a7472..c112f61 100644 (file)
@@ -48,8 +48,8 @@ endif ()
 # - C4244: implicit integer truncation
 # - C4290: C++ exception specification ignored
 # - C4800: forcing value to bool 'true' or 'false' (performance warning)
-#add_compile_flags("/wd4244 /wd4290 /wd4800 ")
-add_compile_flags("/wd4244 /wd4290 /wd4800")
+# - C4200: nonstandard extension used : zero-sized array in struct/union
+add_compile_flags("/wd4244 /wd4290 /wd4800 /wd4200")
 
 # FIXME: Temporarily disable C4018 until we fix more of the others. CORE-10113
 add_compile_flags("/wd4018")