Disabling missing newline warning

Phil Edwards phil@jaj.com
Wed Dec 4 08:35:00 GMT 2002


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



More information about the Gcc mailing list