]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a problem of Suns Forte compiler which cant handle the case that an enum...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2002 12:49:59 +0000 (12:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2002 12:49:59 +0000 (12:49 +0000)
/* ----------------------------------------------- */
/* Problem 10 -- Members with the same name as the */
/* enclosing namespace.                            */
namespace NS3 {
  class NS3 {};
};
NS3::NS3 ns3;

Thus rename the IteratorState enum in the IteratorState namespace into IteratorState_s_.

git-svn-id: https://svn.dealii.org/trunk@5601 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/2002/c-3-3.html

index 5c1003c90f9ee03b49f183e39b79f85b27e5ed40..4a0b50db91de3bd5b48b4911ee640cf94f90bc14 100644 (file)
@@ -185,6 +185,17 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
 <h3>deal.II</h3>
 
 <ol>
+  <li> <p> 
+       Fixed: The <code class="class">IteratorState::IteratorState</code>
+       enum is now called <code
+       class="class">IteratorState::IteratorStates</code>. This works
+       around a bug in Sun's Forte C++ compilers which can't handle
+       members of namespaces with the same name as the enclosing
+       namespace.
+       <br>
+       (WB 2002/03/20)
+       </p>
+
   <li> <p> 
        Fixed: In 3d, the function <code
        class="member">DoFTools::make_hanging_node_constraints</code> 

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.