This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
is there a command-line flag I can pass GCC to stop bitching about#pragma once?
- From: Rob Newberry <robnewberry at grouplogic dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 31 Jul 2002 17:24:16 -0400 (EDT)
- Subject: 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