This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9518: apparent header file problems
- From: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
- To: matt zagrabelny <mzagrabe at d dot umn dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Mon, 3 Feb 2003 07:45:39 +0100
- Subject: Re: c++/9518: apparent header file problems
- References: <20030202091659.9707.qmail@sources.redhat.com> <1044235064.3467.27.camel@zombie>
On Sun, Feb 02, 2003 at 07:17:44PM -0600, matt zagrabelny wrote:
> what do you mean when you say that the code is illegal?
With gcc 3.0 and later identifiers from the standard library are in
namespace std and no longer in namespace ::. This means that you
have to qualify things like cout with std::. If someone can reproduce
this it might well turn out that the ICE also happens with legal code.
regards Christian