From: Daniel Arndt Date: Sun, 22 Jul 2018 09:44:02 +0000 (+0200) Subject: Rephrase comment X-Git-Tag: v9.1.0-rc1~906^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5352b93043031cff7c5a7f83353a25862c69221;p=dealii.git Rephrase comment --- diff --git a/cmake/checks/check_02_compiler_features.cmake b/cmake/checks/check_02_compiler_features.cmake index d826c38119..c544740c28 100644 --- a/cmake/checks/check_02_compiler_features.cmake +++ b/cmake/checks/check_02_compiler_features.cmake @@ -290,10 +290,11 @@ ENDIF() # - Wolfgang Bangerth, 2012 # -# some compilers compile the attributes but they do not work -# so we treat errors as warnings: +# Some compilers swallow the deprecation attribute, but emit a warning saying +# that it is actually not supported such as: # "warning: use of the 'deprecated' attribute is a C++14 extension" (clang in c++11 mode) # "warning #1292: unknown attribute "deprecated"" (icc) +# Hence, we treat warnings as errors: PUSH_CMAKE_REQUIRED("${DEAL_II_CXX_FLAGS}") PUSH_CMAKE_REQUIRED("-Werror") PUSH_CMAKE_REQUIRED("-Wno-unused-command-line-argument")