This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40474] gcc 4.3 no longer warns about missing newlines at end of files (regression from 4.2)



------- Comment #5 from rlerallut at free dot fr  2009-06-17 14:15 -------
(In reply to comment #4)
> Behavior being undefined means no requirement for a diagnostic, and the 
> phase 1 mapping can introduce this newline in any case.

Allright, so if I develop my code with gcc 4.3, I have no way of checking for
these missing newlines before sending it to my colleagues that still use gcc
4.2 ?  With Werror activated, it's quite a pain since it breaks builds on their
machines.

And what happened to configuration flags ? 

Why is this change not mentioned in http://gcc.gnu.org/gcc-4.3/changes.html ?
Or here http://gcc.gnu.org/gcc-4.3/porting_to.html ? 

This is not a responsible behavior.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]