diff options
author | Chris Robinson <[email protected]> | 2019-09-14 18:54:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-14 18:54:16 -0700 |
commit | b43cd047ba12f1977c0cf4692a3ea343c7a917d0 (patch) | |
tree | 09c824bc8b68dd7fa178d4baf7672f12732e72e6 /CMakeLists.txt | |
parent | b212ab9ea21a093ba8fa9895e723bc76b84cf284 (diff) |
Build with -Wunused
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 44d829d6..762ce3e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -220,7 +220,7 @@ IF(MSVC) ENDFOREACH(flag_var) ENDIF() ELSE() - SET(C_FLAGS ${C_FLAGS} -Winline -Wall -Wextra -Wshadow -Wconversion -Wcast-align + SET(C_FLAGS ${C_FLAGS} -Winline -Wunused -Wall -Wextra -Wshadow -Wconversion -Wcast-align $<$<COMPILE_LANGUAGE:CXX>:-Wold-style-cast -Wnon-virtual-dtor -Woverloaded-virtual>) IF(ALSOFT_WERROR) |