From: David Wells Date: Mon, 19 Jun 2017 01:10:27 +0000 (-0400) Subject: Add a pragma for ignoring nonvirtual destructors. X-Git-Tag: v9.0.0-rc1~1491^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4525%2Fhead;p=dealii.git Add a pragma for ignoring nonvirtual destructors. An OpenCascade header triggers this warning, so lets ignore it in external libraries. --- diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 1137740695..a77d4adeaf 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -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 \