public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35000]  New: #include sometimes fails in namespaces
@ 2008-01-28 19:07 mw268 at bath dot ac dot uk
  2008-01-28 19:09 ` [Bug libstdc++/35000] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mw268 at bath dot ac dot uk @ 2008-01-28 19:07 UTC (permalink / raw)
  To: gcc-bugs

When including a system header in a namespace followed by another system header
seems to prevent declarations being recognized in the headers or some such.
Even happens when the headers are both the same.

Example code:

#ifndef APP_H
#define APP_H

namespace win
{
        #include <string>
}

#include <iostream>

#endif


-- 
           Summary: #include sometimes fails in namespaces
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mw268 at bath dot ac dot uk


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-31 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-28 19:07 [Bug c++/35000] New: #include sometimes fails in namespaces mw268 at bath dot ac dot uk
2008-01-28 19:09 ` [Bug libstdc++/35000] " pinskia at gcc dot gnu dot org
2008-01-31  8:22 ` mw268 at bath dot ac dot uk
2008-01-31 15:12 ` bangerth at dealii dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).