diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-07-13 11:38:48 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-07-13 11:38:48 +0200 |
commit | a602436cc2e62fd49c9d1af84367d4fc25b920c6 (patch) | |
tree | 33e0597a03d405562759547c644080c66912350d /CMakeLists.txt | |
parent | 8c8d5ecba44077f742b614a6b7681338f80da305 (diff) | |
download | tcpdump-a602436cc2e62fd49c9d1af84367d4fc25b920c6.tar.gz |
Use -Wpointer-sign if it's available
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d93ede27..08d2d249 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -909,6 +909,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel OR EXISTS ${CMAKE_BINARY_DIR}/.devel) check_and_add_compiler_option(-Wold-style-definition) check_and_add_compiler_option(-Wpedantic) check_and_add_compiler_option(-Wpointer-arith) + check_and_add_compiler_option(-Wpointer-sign) check_and_add_compiler_option(-Wshadow) check_and_add_compiler_option(-Wsign-compare) check_and_add_compiler_option(-Wstrict-prototypes) |