This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/27750] bogus 'backslash-newline at end of file' warning
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2006 06:26:35 -0000
- Subject: [Bug preprocessor/27750] bogus 'backslash-newline at end of file' warning
- References: <bug-27750-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from sabre at nondot dot org 2006-05-24 06:26 -------
> 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.
> 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.
-Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27750