------- Comment #4 from joseph at codesourcery dot com 2009-06-17 13:59 ------- Subject: Re: gcc 4.3 no longer warns about missing newlines at end of files (regression from 4.2)
On Wed, 17 Jun 2009, rlerallut at free dot fr wrote: > (In reply to comment #2) > > This is deliberate; see bug 14331. > > Err... What happened to following the standard ? > " > If a source file that is not empty > does not end in a new-line character, or ends in a new-line char- > acter immediately preceded by a backslash character, the behavior > is undefined. > " Behavior being undefined means no requirement for a diagnostic, and the phase 1 mapping can introduce this newline in any case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40474