This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Disabling missing newline warning
- From: Phil Edwards <phil at jaj 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:34:15 -0500
- Subject: Re: Disabling missing newline warning
- References: <3DEE25BD.4020103@vrac.iastate.edu>
On Wed, Dec 04, 2002 at 09:56:45AM -0600, 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.
If it's just "a few" files then
echo '' >> header.h
will solve the problem neatly.
If "a few" is being used in a sarcastic sense for "a metric buttload"
of files, then
echo '' >> header.h
inside a loop will solve the problem neatly. :-)
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002