aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-09-11 17:48:03 -0700
committerGuy Harris <guy@alum.mit.edu>2018-09-12 00:50:55 +0000
commit2f65fbae4ecced197370004d72f69c4e1283c2c3 (patch)
treee7894c615f7672b0d7e20006104d2b631bf6a629
parenta8024f1dc04df2bb0a4643ba8f06ae2f67c198ed (diff)
-Wcomma isn't supported by llvm-gcc, so don't make it a non-error.
Replace a tab in an arguments string with a space while we're at it. Change-Id: Iee6ce920fbd7a883fb23bc798abb7f965e3757e6 Reviewed-on: https://code.wireshark.org/review/29619 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 81733cf553..dab3f828e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -751,7 +751,7 @@ if(NOT DISABLE_WERROR AND NOT ENABLE_EXTRA_COMPILER_WARNINGS)
#
if (APPLE AND NOT CMAKE_C_COMPILER_ID MATCHES "Clang")
set(WERROR_COMMON_FLAGS
- "${WERROR_COMMON_FLAGS} -Wno-error=comma -Wno-error=shorten-64-to-32 -Wno-error=unused-function"
+ "${WERROR_COMMON_FLAGS} -Wno-error=shorten-64-to-32 -Wno-error=unused-function"
)
endif()
endif()