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:
+1
-1
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user