This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14331] please add option to suppress warning message "no newline at end of file"
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 13:29:12 -0000
- Subject: [Bug preprocessor/14331] please add option to suppress warning message "no newline at end of file"
- References: <20040228101052.14331.ahrivera@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-06-30 13:29 -------
I bet it would be a lot more work to add this flag to gcc than to do
something like
for i in * ; do echo >> $i ; done
on the files for which you get this warning. Adding flags to gcc is
complex and has some future maintainance costs, whereas it is really
easy to fix this problem in your own sources.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14331