-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:
parent
a8024f1dc0
commit
2f65fbae4e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue