From: hartmann Date: Thu, 29 Apr 2004 14:55:58 +0000 (+0000) Subject: Another case of DEAL_II_ANON_NAMESPACE_BOGUS_WARNING X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d456d595ad0b0350e4d2a15a0f0eb69f28c4c7df;p=dealii-svn.git Another case of DEAL_II_ANON_NAMESPACE_BOGUS_WARNING git-svn-id: https://svn.dealii.org/trunk@9120 0785d39b-7218-0410-832d-ea1e28bc413d --- 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,