forked from osmocom/wireshark
When using clang, warn about c99 only syntax (like pedantic without all the rest).
Change-Id: Ife6fcb14ce04e4d505ee4911a102420932fb18de Reviewed-on: https://code.wireshark.org/review/15334 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
parent
b6d838eebf
commit
a9070e1a90
|
@ -382,6 +382,8 @@ else()
|
||||||
# The Qt headers generate a ton of shortening errors on 64-bit systems
|
# The Qt headers generate a ton of shortening errors on 64-bit systems
|
||||||
# so only enable this for C for now.
|
# so only enable this for C for now.
|
||||||
-Wshorten-64-to-32
|
-Wshorten-64-to-32
|
||||||
|
# Clang only
|
||||||
|
-Wc99-extensions
|
||||||
)
|
)
|
||||||
|
|
||||||
set(WIRESHARK_CXX_ONLY_FLAGS
|
set(WIRESHARK_CXX_ONLY_FLAGS
|
||||||
|
|
Loading…
Reference in New Issue