This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40474] gcc 4.3 no longer warns about missing newlines at end of files (regression from 4.2)
- From: "rlerallut at free dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2009 14:15:39 -0000
- Subject: [Bug c/40474] gcc 4.3 no longer warns about missing newlines at end of files (regression from 4.2)
- References: <bug-40474-17848@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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