]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rephrase comment 6938/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 22 Jul 2018 09:44:02 +0000 (11:44 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 22 Jul 2018 09:44:02 +0000 (11:44 +0200)
cmake/checks/check_02_compiler_features.cmake

index d826c38119a4a4bbdd225a8a694d8ba940a1d60f..c544740c2870867a86adca08e4c36f9176a4849c 100644 (file)
@@ -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")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.