This is the mail archive of the gcc-help@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: how to deactivate the warning "no newline at end of file"


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


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