]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Another case of DEAL_II_ANON_NAMESPACE_BOGUS_WARNING
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Apr 2004 14:55:58 +0000 (14:55 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Apr 2004 14:55:58 +0000 (14:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@9120 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index 0984b6d71b65d93ae6d8c03fd1b4ef1ed0c1f9ab..80e046616f7762aff61f14d9017158b663ff335a 100644 (file)
@@ -3084,7 +3084,11 @@ void DataOutBase::write_tecplot (const std::vector<Patch<dim,spacedim> > &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<Patch<dim,spacedim> >
   const unsigned int vars_per_node  = (dim+n_data_sets),  
                      nodes_per_cell = GeometryInfo<dim>::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,

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.