diff options
author | Adam <Adam@anope.org> | 2012-01-25 16:13:38 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-01-25 16:13:38 -0500 |
commit | 0f909273e13ae97112dedd847bd78fc2dd90726b (patch) | |
tree | 57b385754792695cf61ca40eb572e4f935078253 /CMakeLists.txt | |
parent | 52eaa7d6d61e3373340fd5a69b92b0fb3b5609e0 (diff) |
Added two common warning messages on Windows to ignore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b9a869012..16c7b1d7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -238,7 +238,7 @@ if(MSVC) string(REPLACE "/GX " "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) string(REPLACE "/W3 " "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # Set the compile flags to have warnings on the max setting (but disable a few annoying ones), exception handling turned on, the proper defines - set(CXXFLAGS "${CXXFLAGS} /W4 /wd4100 /wd4251 /wd4706 /wd4800 /wd4996 /wd4250 /EHs") + set(CXXFLAGS "${CXXFLAGS} /W4 /wd4100 /wd4127 /wd4250 /wd4251 /wd4355 /wd4706 /wd4800 /wd4996 /EHs") add_definitions(-DMSVCPP -D_CRT_SECURE_NO_WARNINGS) # Otherwise, we're not using Visual Studio else(MSVC) |