svn commit: r259555 - in head/contrib: gcc gcc/doc gcclibs/libcpp gcclibs/libcpp/include
Pedro Giffuni
pfg at FreeBSD.org
Wed Dec 18 18:56:51 UTC 2013
On 18.12.2013 10:42, Alexey Dokuchaev wrote:
> On Wed, Dec 18, 2013 at 02:53:36PM +0000, Pedro F. Giffuni wrote:
>> New Revision: 259555
>> URL: http://svnweb.freebsd.org/changeset/base/259555
>>
>> Log:
>> gcc: add Apple compatible -Wnewline-eof
>>
>> GCC 4.2 and previous have always warned about
>> "No newline at end of file".
>>
>> Upstream GCC removed the warning completely but
>> Apple made it an optional warning. Adopt it for
>> compatibility with older GCC and clang.
> As someone who hates files that lack newline at EOF, I could never understand
> why they (upstream) removed this warning.
>
> ./danfe
The main discussion took place here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14331
FWIW, I like the warning too.
Cheers,
Pedro.
More information about the svn-src-head
mailing list