]> https://gitweb.dealii.org/ - dealii.git/commitdiff
more DISABLE_EXTRA_DIAGNOSTICS guards
authorTimo Heister <timo.heister@gmail.com>
Mon, 15 Feb 2016 14:04:00 +0000 (09:04 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 15 Feb 2016 16:15:53 +0000 (11:15 -0500)
include/deal.II/base/config.h.in
include/deal.II/base/std_cxx11/thread.h
source/base/polynomials_bernstein.cc
source/base/utilities.cc
source/lac/sparsity_tools.cc

index 98a31e89749e3d40aaaf8e13b08bb2b9f2c78a65..d6c5f0348e78571b8e82f19fb795362bb4973be4 100644 (file)
@@ -285,6 +285,7 @@ _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")         \
 _Pragma("GCC diagnostic ignored \"-Wunused-variable\"")          \
 _Pragma("GCC diagnostic ignored \"-Wtype-limits\"")              \
 _Pragma("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"") \
+_Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
 _Pragma("GCC diagnostic ignored \"-Winfinite-recursion\"")       \
 _Pragma("GCC diagnostic ignored \"-Wunused-but-set-parameter\"") \
 _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"")        \
index 29a82781494c4bd6ada2c1c9d679ea6ce8ad5d39..9a754c4fcf274cd3ce7e218b2d875df04f7dcd5e 100644 (file)
@@ -31,7 +31,10 @@ DEAL_II_NAMESPACE_CLOSE
 
 #else
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <boost/thread.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
+
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
 {
index 1cb8c568344cfba47ff929961a7f7024257dffcc..fedd18180aebc26d589c859cf5b710750ba96a9f 100644 (file)
@@ -1,6 +1,23 @@
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2004 - 2015 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE at
+// the top level of the deal.II distribution.
+//
+// ---------------------------------------------------------------------
+
 #include <deal.II/base/polynomials_bernstein.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/math/special_functions/binomial.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <vector>
 
index 1e077370180807755aaf6f6c234b026364e86af4..a8a9fe914a955de9f2610664fb24292d38725780 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/thread_local_storage.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/math/special_functions/erf.hpp>
 #include <boost/lexical_cast.hpp>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/random.hpp>
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
index 199751f7d82925354daa5149555cec38451eb67d..a274d91e3e8be2f8fc1dd2551edc860a31a23fb3 100644 (file)
 #endif
 
 #ifdef DEAL_II_WITH_METIS
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 extern "C"
 {
 #include <metis.h>
 }
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #endif
 
 

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.