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

Rob Newberry robnewberry@grouplogic.com
Wed Jul 31 14:25:00 GMT 2002


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



More information about the Gcc-help mailing list