aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-14 14:26:29 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-14 22:27:01 +0000
commit54413c8594ab6fb8518ad9347f21d58038fceed9 (patch)
tree34bd8fed79a00847bd273713d80e0c582ba81f5d
parent2036ffd72b4254e67223016ac234cdd9cb6bbca6 (diff)
Note why we do -Wno-variadic-macros.
Change-Id: Id57a6985eb37d9bf5246cf0f57cc24bb0ca153b9 Reviewed-on: https://code.wireshark.org/review/12639 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b53e7cfc8..cd4ab8ff86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -385,6 +385,10 @@ else()
set(WIRESHARK_EXTRA_COMPILER_COMMON_FLAGS
# The following are for C and C++
-Wpedantic
+ #
+ # As we use variadic macros, we don't want warnings
+ # about them, even with -Wpedantic.
+ #
-Wno-variadic-macros
#
# Various code blocks this one.