c++/6001: g++ problems with nested headers from > egcs-2.91.66 until 3.0.0
Neil Booth
neil@daikokuya.demon.co.uk
Fri Mar 22 11:36:00 GMT 2002
The following reply was made to PR c++/6001; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Mario Deilmann <Mario.Deilmann@pallas.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/6001: g++ problems with nested headers from > egcs-2.91.66 until 3.0.0
Date: Fri, 22 Mar 2002 19:30:02 +0000
Mario Deilmann wrote:-
> If I include nested heades and system headers and that causes parse errors
> in the SYSTEM headers of the Compiler this is by no means a user error !
> So why can you be sure it's not a compiler error ?
Because it would be a preprocessor bug, and I'm sure there are no bugs
in this area in CPP.
> The programm seems syntactically correct (it compiles with no errors on
> different platforms with different compilers).
You should investigate what the issue is. Have you created preprocessed
source and examined it? Have you created preprocessed source with a
compiler that works and examined it? I bet there's a difference, and we
need to know what is causing it.
> Anyhow close this thing, have a nice day ;).
Well, I don't want to close something that is a bug, but you have not
convinced me it is a bug. I urge you to find out what exactly is odd
about the preprocessed source, and *why* it is odd. Otherwise we'll
never get anywhere - I can't replicate your system, only you can.
Have you created the preprocessed source? Can you send it to me?
Can you send me the preprocessed source from a compiler that works?
Neil.
More information about the Gcc-prs
mailing list