From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14035 invoked by alias); 18 Jun 2009 18:05:18 -0000 Received: (qmail 13071 invoked by uid 48); 18 Jun 2009 18:04:58 -0000 Date: Thu, 18 Jun 2009 18:05:00 -0000 Message-ID: <20090618180458.13070.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/40474] gcc 4.3 no longer warns about missing newlines at end of files (regression from 4.2) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rlerallut at free dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg01316.txt.bz2 ------- 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