We don't need -Qunused-arguments with Clang

check_c_compiler_flag now checks for the message Clang prints for -f and
-m flags it doesn't handle ("argument unused during compilation:
'-{flag}'"), so the checks for it now should fail properly during
testing, causing us not to use the flag in question.  This means we
don't need to suppress that warning, as we shouldn't be getting it.

Change-Id: Ieb9657f9e2cee2f357acd52725199d78d2dad80f
Reviewed-on: https://code.wireshark.org/review/2401
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-06-18 11:58:04 -07:00
parent c6007e8d26
commit 8dabe0027a
1 changed files with 0 additions and 4 deletions

View File

@ -287,12 +287,8 @@ else()
set(WIRESHARK_EXTRA_COMPILER_CPP_ONLY_FLAGS
)
# With clang some tests don't fail properly during testing but only
# during real compiles
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
set(WIRESHARK_COMMON_FLAGS ${WIRESHARK_COMMON_FLAGS}
-Qunused-arguments
#-fcolor-diagnostics
)
else()