From: Timo Heister Date: Tue, 29 Jun 2021 22:09:54 +0000 (-0400) Subject: silence gcc 11 warning X-Git-Tag: v9.4.0-rc1~1179^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8f3542d91889fa65f2bd369726573d0426df41;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 c6dc2baf6d..1e2a09c97d 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -430,6 +430,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\"") \