This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Disabling missing newline warning
- From: Mike Stump <mrs at apple dot com>
- To: Patrick Hartling <patrick at vrac dot iastate dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 4 Dec 2002 11:05:31 -0800
- Subject: Re: Disabling missing newline warning
On Wednesday, December 4, 2002, at 07:56 AM, Patrick Hartling wrote:
I am compiling against a third-party library containing a few header
files that are missing newlines at the end of the files.
Sure, gcc file.c 2>&1 | grep -v 'missing newline at end of file'
words just fine for me. Another option, gcc -w file.c.