[Bug preprocessor/18200] Spurious backslash-newline at end of file warning

2004-10-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-28 16:14 
---
The warning is pretty clear at what it means:
test.defs:1:30: warning: backslash-newline at end of file

I don't see where the problem is.  Also it is undefined in the C standard to have a 
file not in a new line.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18200


[Bug preprocessor/18200] Spurious backslash-newline at end of file warning

2004-10-28 Thread ftg at adelphia dot net

--- Additional Comments From ftg at adelphia dot net  2004-10-28 16:27 ---
I don't agree that it's clear.  The file does not end with a backslash-newline
as the message states, and the message gives one no idea of what to do to
correct it.

If it is indeed the case that a file which does not end with a newline is
illegal in C, then that's the message that should be issued.  However, it is
quite easy to create such files with modern editors such as KDE Kate.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18200