public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eljay Love-Jensen <eljay@adobe.com>
To: Amit Chordia <achordia@ptc.com>, gcc-help@gcc.gnu.org
Subject: Re: [Fwd: GCC Specific warning to error]
Date: Fri, 27 Aug 2004 21:24:00 -0000	[thread overview]
Message-ID: <6.1.2.0.2.20040827101514.01e3b678@iplan-mn.corp.adobe.com> (raw)
In-Reply-To: <412D8D57.7020204@ptc.com>

Hi Amit,

 >Is there any way where I can tell the compiler to make a particular 
warning to represent as error like we do it in 'cl' with the use of 'pragma' ?

You can turn off all warnings, then turn on the warnings you are interested 
in, and then turn all warnings-into-errors.  All on the command line 
invocation of gcc (or g++) as the compiler/linker.

That's about as close as you can get, though.

HTH,
--Eljay

      reply	other threads:[~2004-08-27 15:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26  9:54 Amit Chordia
2004-08-27 21:24 ` Eljay Love-Jensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.1.2.0.2.20040827101514.01e3b678@iplan-mn.corp.adobe.com \
    --to=eljay@adobe.com \
    --cc=achordia@ptc.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).