From 46600cb8816d3027b8a7f859fdf78a77ddee4d1c Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Thu, 29 Apr 2004 14:55:58 +0000 Subject: [PATCH] Another case of DEAL_II_ANON_NAMESPACE_BOGUS_WARNING git-svn-id: https://svn.dealii.org/trunk@9120 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 0984b6d71b..80e046616f 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -3084,7 +3084,11 @@ void DataOutBase::write_tecplot (const std::vector > &patche #ifdef DEAL_II_HAVE_TECPLOT -namespace +#ifdef DEAL_II_ANON_NAMESPACE_BOGUS_WARNING + namespace TEC +#else + namespace +#endif { class TecplotMacros { @@ -3242,7 +3246,11 @@ void DataOutBase::write_tecplot_binary (const std::vector > const unsigned int vars_per_node = (dim+n_data_sets), nodes_per_cell = GeometryInfo::vertices_per_cell; +#ifdef DEAL_II_ANON_NAMESPACE_BOGUS_WARNING + TEC::TecplotMacros tm(n_nodes, vars_per_node, n_cells, nodes_per_cell); +#else TecplotMacros tm(n_nodes, vars_per_node, n_cells, nodes_per_cell); +#endif int is_double = 0, tec_debug = 0, -- 2.39.5