public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: disquisitiones <disquisitiones@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Modify the gcc exit code for warning
Date: Thu, 26 May 2022 02:35:01 +0200	[thread overview]
Message-ID: <CAAkvOkZpGV1qO9-c3ObgUAi+HvSAbTG=T9PSFJkS0qxEp+TiBw@mail.gmail.com> (raw)

Hi,

I would like to modify the exit code returned by gcc in case of warning
from 0 to some other value, but I'm not familiar with the gcc large source
code base.

Could you provide an hint to which is the file in the gcc source code that
I should modify for modifying the exit value?

Many thanks,

Luca

             reply	other threads:[~2022-05-26  0:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26  0:35 disquisitiones [this message]
2022-05-27 11:46 ` Stefan Ring
2022-05-29 18:00 ` disquisitiones
2022-05-30 12:32   ` Jonathan Wakely

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='CAAkvOkZpGV1qO9-c3ObgUAi+HvSAbTG=T9PSFJkS0qxEp+TiBw@mail.gmail.com' \
    --to=disquisitiones@gmail.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).