]> https://gitweb.dealii.org/ - dealii.git/commitdiff
silence gcc 11 warning 12525/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 29 Jun 2021 22:09:54 +0000 (18:09 -0400)
committerMatthias Maier <tamiko@43-1.org>
Tue, 29 Jun 2021 22:18:33 +0000 (17:18 -0500)
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(); }

include/deal.II/base/config.h.in

index e0bd528ebd15d778f49a08327c6a2a510ad0b8f7..cf74bd07a232e865c2ac9bb7e36f277fc9f3238a 100644 (file)
@@ -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\"")                        \

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.