]> https://gitweb.dealii.org/ - dealii.git/commitdiff
silence gcc 11 warning 12523/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 29 Jun 2021 22:09:54 +0000 (18:09 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 29 Jun 2021 22:09:54 +0000 (18:09 -0400)
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 c6dc2baf6d884c104c2ccfeda707c9596a8222a3..1e2a09c97d1a351612b08964c23f3d824026473b 100644 (file)
@@ -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\"")                        \

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.