diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-09-17 13:33:14 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-09-17 13:33:14 +0200 |
commit | ada3235733436cf5f8654c35c0558c7cc70a847b (patch) | |
tree | dda0693bd504e18fc2577dffc84099c2c63c8ab8 /CMakeLists.txt | |
parent | c540355c1de71c413c7ea32cbc7e8c4fcf15de7c (diff) | |
download | synthpod-ada3235733436cf5f8654c35c0558c7cc70a847b.tar.xz |
fix warnings reported by -Wextra.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d5e1c94..2a01982f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,9 +26,8 @@ set(SYNTHPOD_MICRO_VERSION 1) set(SYNTHPOD_VERSION "${SYNTHPOD_MAJOR_VERSION}.${SYNTHPOD_MINOR_VERSION}.${SYNTHPOD_MICRO_VERSION}") add_definitions("-DSYNTHPOD_VERSION=\"${SYNTHPOD_VERSION}\"") -set(CMAKE_C_FLAGS "-std=gnu11 -Wall -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}") -set(CMAKE_C_FLAGS "-Wshadow ${CMAKE_C_FLAGS}") -#set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}") +set(CMAKE_C_FLAGS "-std=gnu11 -Wextra -Wno-unused-parameter -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}") +set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "-std=gnu++11 -Wextra -ffast-math -fvisibility=hidden ${CMAKE_CXX_FLAGS}") set(CMAKE_CXX_FLAGS "-Wshadow -Wredundant-decls -Weffc++ ${CMAKE_CXX_FLAGS}") |