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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"