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 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.


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