diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index 88f702911e..2c3d4cfa12 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -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()