preprocessor bug(?)

Neil Booth neil@daikokuya.co.uk
Fri Nov 8 01:13:00 GMT 2002


Zack Weinberg wrote:-

> On Thu, Nov 07, 2002 at 04:19:31PM -0800, Dale Johannesen wrote:
> > One of our users just did this:
> > 
> > // comment, space character follows the backslash:\
> > main() {
> > }
> > 
> > gcc ignores the space character, which causes the comment to eat the 
> > next line.
> > That's wrong, isn't it?
> 
> No, that's an intentional feature.  From the manual:

We get so many complaints about this I'm starting to wonder if we should
drop it.  Further, it complicates a stages 1 and 2 prescan, should we ever do
that.

Neil.



More information about the Gcc mailing list