- Make warning C4229 (modifiers on data are ignored) an error

svn path=/trunk/; revision=61020
This commit is contained in:
Thomas Faber 2013-11-17 19:45:32 +00:00
parent acca015b21
commit 09d35bf4fe

View file

@ -46,8 +46,9 @@ add_compile_flags("/wd4290")
# - C4098: void function returning a value
# - C4129: unrecognized escape sequence
# - TODO: C4133: incompatible types
# - C4229: modifiers on data are ignored
# - C4700: uninitialized variable usage
add_compile_flags("/we4022 /we4047 /we4098 /we4129 /we4700")
add_compile_flags("/we4022 /we4047 /we4098 /we4129 /we4229 /we4700")
# Debugging
#if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")