From 8a738dac615c3d16efbaabcb80867dfc27e71b38 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 18 Jun 2017 21:10:27 -0400 Subject: [PATCH] Add a pragma for ignoring nonvirtual destructors. An OpenCascade header triggers this warning, so lets ignore it in external libraries. --- include/deal.II/base/config.h.in | 1 + 1 file changed, 1 insertion(+) 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 \ -- 2.39.5