forked from osmocom/wireshark
autotools: Add '-Qunused-arguments' to build flags (clang only).
CMake build is already using it. Change-Id: Id0df316d41133bdb0483f3aa4c67d7a6b53aaf0c Reviewed-on: https://code.wireshark.org/review/13616 Reviewed-by: João Valverde <j@v6e.pt>
This commit is contained in:
parent
adf0184e98
commit
3ce0e60b43
|
@ -1037,6 +1037,11 @@ AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wjump-misses-init, C)
|
|||
# so only enable this for C for now.
|
||||
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wshorten-64-to-32, C)
|
||||
|
||||
# Clang only. Avoid "argument unused during compilation" warnings
|
||||
# (for example, when getting the -gsplit-dwarf option or
|
||||
# when combining -fwrapv with -fno-strict-overflow)
|
||||
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Qunused-arguments)
|
||||
|
||||
#
|
||||
# Use the faster pre gcc 4.5 floating point precision if available.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue