Removed Debug build warnings from MSVC STL.

This commit is contained in:
Neil MacIntosh committed 2015-08-27 22:15:44 -07:00
1 parent 9b40a0a7c8
commit 75f31dabe9
2 files changed
+5 -4

No files matched your search

+3 -2
View File
@@ -11,8 +11,9 @@ include_directories(
add_definitions(-DSAFER_CPP_TESTING)
if(MSVC14 OR MSVC12)
# has the support we need
if(MSVC14 OR MSVC12) # has the support we need
# remove unnecessary warnings about unchecked iterators
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
else()
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)