summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-09-15 13:16:02 -0700
committerGuy Harris <guy@alum.mit.edu>2018-09-15 13:16:02 -0700
commit9008c09c88c31553beeb5051a637a86976d51abe (patch)
tree260428fc91825bd8212aa2973fb657aff568dd7f /CMakeLists.txt
parentb6e38e7c52883d89559044bfe8047c32f466fb47 (diff)
downloadtcpdump-9008c09c88c31553beeb5051a637a86976d51abe.tar.gz
Don't warn about declarations after statements.
We now allow them, and require a compiler that supports them, so there's no need to warn about them.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9db60947..93592c3c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -866,7 +866,6 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel OR EXISTS ${CMAKE_BINARY_DIR}/.devel)
check_and_add_compiler_option(-Wall)
check_and_add_compiler_option(-Wassign-enum)
check_and_add_compiler_option(-Wcast-qual)
- check_and_add_compiler_option(-Wdeclaration-after-statement)
check_and_add_compiler_option(-Wmissing-prototypes)
check_and_add_compiler_option(-Wold-style-definition)
check_and_add_compiler_option(-Wpedantic)