This is the mail archive of the gcc-patches@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]

Re: [PATCH] Feature request PR14331: add -W(no-)eof-newline


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


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