]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Silence a warning about an unused private member. 985/head
authorDavid Wells <drwells@vt.edu>
Tue, 2 Jun 2015 21:22:22 +0000 (17:22 -0400)
committerDavid Wells <drwells@vt.edu>
Tue, 2 Jun 2015 23:43:51 +0000 (19:43 -0400)
The GmvFlags struct is not used in the current implementation, but it
may be used in the future.

include/deal.II/base/config.h.in
source/base/data_out_base.cc

index 551dd41b40671d42cd1a33bd87493723bd439b24..04b6536e7cdd06efd7e4ec409808bbc2a3df694d 100644 (file)
@@ -296,6 +296,7 @@ _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")         \
 _Pragma("GCC diagnostic ignored \"-Wunused-variable\"")          \
 _Pragma("GCC diagnostic ignored \"-Wunused-but-set-parameter\"") \
 _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"")        \
+_Pragma("GCC diagnostic ignored \"-Wunused-private-field\"")     \
 _Pragma("GCC diagnostic warning \"-Wpragmas\"")
 
 #  define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS                       \
index aea0e93daca03b042e64dd1e311c0d0b83a360da..6f2482b1d9c28f2a2b5de869c80ce3efea984c35 100644 (file)
@@ -854,7 +854,9 @@ namespace
     /**
      * The flags controlling the output
      */
+    DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
     const DataOutBase::GmvFlags flags;
+    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.