This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/35000] #include sometimes fails in namespaces
- From: "mw268 at bath dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2008 06:38:08 -0000
- Subject: [Bug libstdc++/35000] #include sometimes fails in namespaces
- References: <bug-35000-15701@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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