diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-18 14:47:07 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-10-18 14:47:07 -0500 |
commit | 88b1dfa508e3e7bba4487d0a41c9b56a943ca5f2 (patch) | |
tree | c8647b6a18a75c008cba4f0895c1bfb3278a6335 | |
parent | ad4f98ea56af0ce143b369abf55e35c22f29e3b5 (diff) | |
download | ayatana-indicator-datetime-88b1dfa508e3e7bba4487d0a41c9b56a943ca5f2.tar.gz ayatana-indicator-datetime-88b1dfa508e3e7bba4487d0a41c9b56a943ca5f2.tar.bz2 ayatana-indicator-datetime-88b1dfa508e3e7bba4487d0a41c9b56a943ca5f2.zip |
tweak the default gcc warnings
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e0661f0..61c5a21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,7 @@ add_custom_target (cppcheck COMMAND cppcheck --enable=all -q --error-exitcode=2 ## Actual building ## -set (CC_WARNING_ARGS " -Wall -Wextra -Wno-missing-field-initializers") +set (CC_WARNING_ARGS " -Wall -Wshadow -Wextra -Wunused -Wformat=2 -Wno-missing-field-initializers") include_directories (${CMAKE_CURRENT_SOURCE_DIR}/src) include_directories (${CMAKE_CURRENT_BINARY_DIR}/src) |