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]

is there a command-line flag I can pass GCC to stop bitching about#pragma once?


I've got a bunch of code that I need to avoid changing, and it uses 
#pragma once.  I understand that it's deprecated; but I still need to 
compile it.

Is there something I can pass to GCC so it will still issue other 
warnings, but ignore that one?

Thanks!

Rob


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