svn commit: r259555 - in head/contrib: gcc gcc/doc gcclibs/libcpp gcclibs/libcpp/include

Alexey Dokuchaev danfe at FreeBSD.org
Wed Dec 18 15:42:53 UTC 2013


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


More information about the svn-src-all mailing list