This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Feature request PR14331: add -W(no-)eof-newline
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Dave Korn" <dave dot korn at artimi dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Apr 2007 08:30:56 -0700
- Subject: Re: [PATCH] Feature request PR14331: add -W(no-)eof-newline
- References: <002b01c77b79$ea9e7160$2e08a8c0@CAM.ARTIMI.COM>
On 4/10/07, Dave Korn <dave.korn@artimi.com> wrote:
ref: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14331
I rather declare all the editors which don't add a new line at the end
of the file as being broken. There is no reason why they can't do
this automatically. As mentioned before this is undefined compile
time behavior so we are doing the correct thing of warning. Yes we
are most likely not going to get Microsoft changing their editor. Now
we could have Apple change their editor which really should have been
done instead of them just turning off the warning in their version of
GCC.
-- Pinski