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:
Joerg Mayer 2016-05-10 18:54:06 +02:00 committed by Jörg Mayer
parent b6d838eebf
commit a9070e1a90
1 changed files with 2 additions and 0 deletions

View File

@ -382,6 +382,8 @@ else()
# The Qt headers generate a ton of shortening errors on 64-bit systems
# so only enable this for C for now.
-Wshorten-64-to-32
# Clang only
-Wc99-extensions
)
set(WIRESHARK_CXX_ONLY_FLAGS