Pedro F. Giffuni cfbe5d01ee 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.

While here, add comment to complement r258712.

Obtained from:	Apple Inc. (Apple GCC 4.2 - 5531)
MFC after:	1 week
2013-12-18 14:53:36 +00:00

10 lines
265 B
Plaintext

2008-08-04 Bill Wendling <wendling@apple.com>
Radar 6121572
* charset.c (_cpp_convert_input): Don't read to.text[-1].
2005-02-17 Devang Patel <dpatel@apple.com>
Radar 3958387
* libcpp/lex.c (_cpp_get_fresh_line): Check warn_newline_at_eof.