cmake: clang, please compile my code quietly

This commit is contained in:
Gregory Hainaut 2016-01-09 22:57:20 +01:00
parent fd56195b2d
commit dd097fe361
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ set(AGGRESSIVE_WARNING "-Wstrict-aliasing -Wstrict-overflow=2 ")
if (USE_CLANG)
# -Wno-deprecated-register: glib issue...
set(DEFAULT_WARNINGS "${DEFAULT_WARNINGS} -Wno-deprecated-register")
set(DEFAULT_WARNINGS "${DEFAULT_WARNINGS} -Wno-deprecated-register -Wno-c++14-extensions")
if (NOT APPLE)
set(COMMON_FLAG "${COMMON_FLAG} -no-integrated-as")
endif()