Disable warnings 4268 and 4324 on MSVC

warning C4268: 'const' static/global data initialized with compiler generated
default constructor fills the object with zeros

warning C4324: structure was padded due to alignment specifier
This commit is contained in:
Chris Robinson
2019-09-18 09:31:32 -07:00
parent ab87e56b22
commit da80a7c2b2
+1 -1
View File
@@ -199,7 +199,7 @@ IF(MSVC)
IF(HAVE_PERMISSIVE_SWITCH)
SET(C_FLAGS ${C_FLAGS} $<$<COMPILE_LANGUAGE:CXX>:/permissive->)
ENDIF()
SET(C_FLAGS ${C_FLAGS} /W4 /w14640 /wd4065 /wd4200)
SET(C_FLAGS ${C_FLAGS} /W4 /w14640 /wd4065 /wd4200 /wd4268 /wd4324)
IF(NOT DXSDK_DIR)
STRING(REGEX REPLACE "\\\\" "/" DXSDK_DIR "$ENV{DXSDK_DIR}")