[Bug preprocessor/27750] bogus 'backslash-newline at end of file' warning
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 24 06:33:00 GMT 2006
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-24 06:33 -------
(In reply to comment #4)
> > This might be why it is undefined at compile time if the file does not end in a
> > new-line or not :).
>
> However, GCC *does* supports this as an extension, hence the expected pedwarn.
It is not really an extension, just undefined at compile time which is
diffferent than supporting.
>
> > I don't think that warning is that bogus. It is true too.
>
> Huh? The backslash-newline occur in the middle of a comment, not at the end of
> a file.
so ... The standard requires that to be an backslash-newline even without the
comment there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27750
More information about the Gcc-bugs
mailing list