]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable diagnostics pragma in a few boost and tbb headers 8139/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 13 May 2019 15:54:10 +0000 (17:54 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 13 May 2019 15:54:10 +0000 (17:54 +0200)
include/deal.II/base/graph_coloring.h
include/deal.II/base/patterns.h
include/deal.II/base/point.h
include/deal.II/base/thread_local_storage.h
include/deal.II/base/thread_management.h
include/deal.II/base/utilities.h
include/deal.II/matrix_free/matrix_free.templates.h

index 62927a301cf0f5c88f44fe8fb257b714d111d443..106a885eb280d74856490973615d4d9bb8200960 100644 (file)
 
 #  include <deal.II/lac/sparsity_tools.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <boost/unordered_map.hpp>
 #  include <boost/unordered_set.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #  include <functional>
 #  include <set>
index 963eaa377928f091626b41b6def0637d668e5703..bb77c79315ec4d2416347d9e6e0a85a3089848a9 100644 (file)
 
 #include <deal.II/fe/component_mask.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/archive/basic_archive.hpp>
 #include <boost/core/demangle.hpp>
 #include <boost/property_tree/ptree_fwd.hpp>
 #include <boost/property_tree/ptree_serialization.hpp>
 #include <boost/serialization/split_member.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <array>
 #include <deque>
index 5a39717d5ebca5ffdb4abe4fa94a6c124d6183c8..a47b6238d27d3f7848d7ae1b4f75d940497c8b62 100644 (file)
@@ -22,7 +22,9 @@
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/tensor.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/geometry.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <cmath>
 
index 12c9fd0827ebb80a55770649b96f19d36400490d..b731ca6137230755b66d364577d95923b2e4a5b6 100644 (file)
 
 #  include <deal.II/base/config.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  ifdef DEAL_II_WITH_THREADS
 #    include <tbb/enumerable_thread_specific.h>
 #  endif
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 
 
index 7e7294b571b5a95336f77babdedc216bf83ca44b..14c49a49ffdd6da8c42177d2189bb199ba8b933e 100644 (file)
@@ -32,6 +32,7 @@
 #  include <tuple>
 #  include <utility>
 #  include <vector>
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  ifdef DEAL_II_WITH_THREADS
 #    include <thread>
 #    ifdef DEAL_II_USE_MT_POSIX
@@ -40,6 +41,7 @@
 #    include <tbb/task.h>
 #    include <tbb/tbb_stddef.h>
 #  endif
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 
 
index 8017a392ed70e96c83f2e1ca788c8547c98114ac..03783c57a7bf8373adfbacbfbb7ad5ad9dd9ece5 100644 (file)
@@ -40,6 +40,8 @@
 #  endif
 #endif
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
+
 #include <boost/archive/binary_iarchive.hpp>
 #include <boost/archive/binary_oarchive.hpp>
 #include <boost/core/demangle.hpp>
@@ -54,6 +56,8 @@
 #  include <boost/iostreams/stream.hpp>
 #endif
 
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
+
 DEAL_II_NAMESPACE_OPEN
 
 // forward declare Point
index 0aedc2af2d4febd3db79d3b806c2abe2b448f632..6e2b4c116565111ed1b37ff15adb132c7fb238e7 100644 (file)
@@ -40,7 +40,9 @@
 #ifdef DEAL_II_WITH_THREADS
 #  include <deal.II/base/parallel.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <tbb/concurrent_unordered_map.h>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #endif
 
 #include <fstream>

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.