how to deactivate the warning "no newline at end of file"

Tom St Denis tstdenis@ellipticsemi.com
Tue Oct 9 10:35:00 GMT 2007


DEV Support Jeremy Virga wrote:
> Hi,
> is there a way to intentionally deactivate the warning "no newline at 
> end of file" ?

It violates the C spec to not have a newline at the end of the file. 

Why not just put a newline at the end of the file?  or just grep -v out 
those warnings :-)

Tom



More information about the Gcc-help mailing list