From: Matthias Maier Date: Wed, 1 Feb 2017 22:25:21 +0000 (-0600) Subject: CMake: Also ignore -Wignored-attributes for external includes X-Git-Tag: v8.5.0-rc1~169^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eafa69059a4b84a19496dc22ad4c4103547e3d88;p=dealii.git CMake: Also ignore -Wignored-attributes for external includes --- diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 7472b2b8db..978d4d7504 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -311,6 +311,7 @@ _Pragma("GCC diagnostic ignored \"-Wunused-private-field\"") \ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-but-set-variable\"") \ _Pragma("GCC diagnostic ignored \"-Wexpansion-to-defined\"") \ +_Pragma("GCC diagnostic ignored \"-Wignored-attributes\"") \ _Pragma("GCC diagnostic warning \"-Wpragmas\"") # define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS \