-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>
This commit is contained in:
Guy Harris 2018-09-11 17:48:03 -07:00
parent a8024f1dc0
commit 2f65fbae4e
1 changed files with 1 additions and 1 deletions

View File

@ -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()