diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-08 15:58:55 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-08 15:58:55 -0800 |
commit | 41032f7f864b872f1b2fe851bbd58a6cf349f0a7 (patch) | |
tree | 0e66312b13d1d2137940997a346f79429e3189f0 /src/CMakeLists.txt | |
parent | b0a3cb9b4381ecaf97d3b8e37f30b78b7cf2d410 (diff) | |
parent | f2d6384ef1acb6dd3c5e25537ea40ff0c7ef66ea (diff) |
Merge pull request #238 from nwellnhof/fix_warnings
Fix warnings
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1377d60..aef1b14 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -134,7 +134,7 @@ if(MSVC) endif() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127 /wd4244 /wd4267 /wd4706 /wd4800 /D_CRT_SECURE_NO_WARNINGS") elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=c99 -pedantic") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic") endif() # Compile as C++ under MSVC |