This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Command line options and pragmas
- From: DJ Delorie <dj at redhat dot com>
- To: dtaylor at emc dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 18 Jan 2006 16:12:25 -0500
- Subject: Re: Command line options and pragmas
- References: <200601091846.k09IkLhk001021@mailhub.lss.emc.com>
> Most of the tweaks involve turning selected warnings off.
FYI this is in.
#pragma GCC diagnostic (warning|error|ignored) "-Wwhatever"
No push/pop yet, it's currently file-scope. See the threads with
"warning control" in the subject.