From: Timo Heister Date: Tue, 29 Jun 2021 22:09:54 +0000 (-0400) Subject: silence gcc 11 warning X-Git-Tag: v9.3.1~3^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=566b9bcc17b90cec27f73d1d7936a4dd1ae74298;p=dealii.git silence gcc 11 warning silence boost warning ../bundled/boost-1.70.0/include/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] 16 | ~usage_requirements() { ((Model*)0)->~Model(); } --- diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index e0bd528ebd..cf74bd07a2 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -426,6 +426,7 @@ _Pragma("GCC diagnostic ignored \"-Wmisleading-indentation\"") \ _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \ _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"") \ _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"") \ +_Pragma("GCC diagnostic ignored \"-Wnonnull\"") \ _Pragma("GCC diagnostic ignored \"-Woverflow\"") \ _Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \ _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \