]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a pragma for ignoring nonvirtual destructors. 4525/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 19 Jun 2017 01:10:27 +0000 (21:10 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 19 Jun 2017 01:10:27 +0000 (21:10 -0400)
An OpenCascade header triggers this warning, so lets ignore it in external
libraries.

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

index 113774069547b8091e23df6e6a1371823544d59f..a77d4adeaf08a7a90b345c40ce6d98037d70efb5 100644 (file)
@@ -302,6 +302,7 @@ _Pragma("GCC diagnostic ignored \"-Wexpansion-to-defined\"")     \
 _Pragma("GCC diagnostic ignored \"-Wignored-attributes\"")       \
 _Pragma("GCC diagnostic ignored \"-Wmisleading-indentation\"")   \
 _Pragma("GCC diagnostic ignored \"-Wundef\"")                    \
+_Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")         \
 _Pragma("GCC diagnostic warning \"-Wpragmas\"")
 
 #  define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS                       \

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.