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 #8 from rlerallut at free dot fr  2009-06-18 18:04 -------
(In reply to comment #7)
> The warning was removed on purpose per user request, so this is WONTFIX. 

Keeping an once of compatibility (or adding an option) between two minor
versions would have been appreciated. Or a pragma, whatever. Not all of us have
the luxury of a homogeneous development environment.

> We are sorry about the inconvenience this causes to you. We humbly suggest you
> consider using a more modern editor, for example emacs, which will introduce a
> newline at the end of the file.

So does vim [flamebait right back at you].  However many of my colleagues use
visual c++ which does not have this feature (or not by default). 

> Otherwise, your colleagues could perhaps update
> to the same version of GCC you are using. Developing with different versions of
> GCC is likely to cause some discrepancies because of fixed/new bugs.

Yes. Not to mention the various behavior in floating point optimizations.  Most
of our Linux-using developers use gcc 4.2 on Ubuntu's latest "long term
support" release. But part of my job is to evaluate the compilers we have
available (or will have in the future). I therefore routinely use gcc from 4.1
to 4.4 as well as intel's icc and visual c++.

It's already hard enough being one of the few linux people in a windows shop,
you're not making my task easier.


Well, I guess you can't please everyone all the time. Wontfix it is.
 I'll patch my local copy.


Regards,
Romain


-- 


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]