This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disabling missing newline warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]