]> https://gitweb.dealii.org/ - dealii.git/commit
Add a more general fallthrough attribute. 4583/head
authorDavid Wells <wellsd2@rpi.edu>
Fri, 7 Jul 2017 19:23:41 +0000 (15:23 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 7 Jul 2017 19:40:48 +0000 (15:40 -0400)
commit99dbf3562d38c98182622ca11b4fa850cee1a9be
tree51355ab9a70e99ddc93fcb033641f1383ee6d3cf
parentb17bf19388696ca8689ce57ac06db0674697085d
Add a more general fallthrough attribute.

GCC7 raises implicit fallthrough warnings in a lot of places when we
compile without C++17 support. This patch adds a second check for the
GCC extension `__attribute__((fallthrough))` that works in C++11 and
C++14 and fixes these warnings.
cmake/checks/check_01_cxx_features.cmake

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.