From: Stefan Ring <stefanrin@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Modify the gcc exit code for warning
Date: Fri, 27 May 2022 13:46:22 +0200 [thread overview]
Message-ID: <CAAxjCEw_gCNk+zOwG8y=RaHHU4ZrhDn+O_9rVz6Ff8L_M-gY=w@mail.gmail.com> (raw)
In-Reply-To: <CAAkvOkZpGV1qO9-c3ObgUAi+HvSAbTG=T9PSFJkS0qxEp+TiBw@mail.gmail.com>
On Thu, May 26, 2022 at 2:35 AM disquisitiones via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> 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?
Try to find out where -Werror gets handled. This will lead you to the
correct places.
next prev parent reply other threads:[~2022-05-27 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 0:35 disquisitiones
2022-05-27 11:46 ` Stefan Ring [this message]
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='CAAxjCEw_gCNk+zOwG8y=RaHHU4ZrhDn+O_9rVz6Ff8L_M-gY=w@mail.gmail.com' \
--to=stefanrin@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).