[Bug libstdc++/35000] #include sometimes fails in namespaces

2008-01-31 Thread bangerth at dealii dot org


--- Comment #3 from bangerth at dealii dot org  2008-01-31 14:53 ---
This way you make the compiler believe that all the functions
are in a namespace when the compiler that compiled these functions
into a .dll assumed that they are not. This can't work.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35000



[Bug libstdc++/35000] #include sometimes fails in namespaces

2008-01-30 Thread mw268 at bath dot ac dot uk


--- Comment #2 from mw268 at bath dot ac dot uk  2008-01-31 06:38 ---
(In reply to comment #1)
 This is working as designed.  Why are you doing #include inside a namespace
 anyways?
 

I was using it to enclose windows.h in a namespace win to avoid potential
problems and ended up causing one. The reason I thought I was a bug was because
it works if the #include is before the namespace.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35000



[Bug libstdc++/35000] #include sometimes fails in namespaces

2008-01-28 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-01-28 19:02 ---
This is working as designed.  Why are you doing #include inside a namespace
anyways?


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c++ |libstdc++
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35000