diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 20:19:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 20:19:09 -0700 |
commit | 735098e097ad62bdc4b1121c6c0c983eb7483485 (patch) | |
tree | a858fedc30e6149ed430784942413a2b06741ec9 /api_test | |
parent | a541e39f69cfa75422fbe70c59c2ac40fbdbe1d7 (diff) | |
parent | ce0e58469f7c4abf3f51bde6d3298215d6ef99d1 (diff) |
Merge pull request #76 from kainjow/msvc-warnings
Fix some MSVC warnings
Diffstat (limited to 'api_test')
-rw-r--r-- | api_test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api_test/CMakeLists.txt b/api_test/CMakeLists.txt index 7489388..3151ccc 100644 --- a/api_test/CMakeLists.txt +++ b/api_test/CMakeLists.txt @@ -18,7 +18,7 @@ if(MSVC) else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4") endif() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127 /wd4244 /wd4267 /wd4706 /wd4800 /D_CRT_SECURE_NO_WARNINGS") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4706 /D_CRT_SECURE_NO_WARNINGS") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /TP") elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic") |