From: Joel Brobecker <brobecker@adacore.com>
To: Simon Marchi via Gdb <gdb@sourceware.org>
Cc: Andrea Monaco <andrea.monaco@autistici.org>,
Joel Brobecker <brobecker@adacore.com>
Subject: Re: -Werror enabled by default on GNU/Hurd
Date: Wed, 29 Dec 2021 07:46:40 +0400 [thread overview]
Message-ID: <YcvaIOpnEsSMfDOs@adacore.com> (raw)
In-Reply-To: <1fe352c0-a665-cd60-51cf-a47bce29ac61@polymtl.ca>
> > When building gdb on GNU/Hurd, -Werror is enabled by default. I think
> > that's a bug: that option is only useful in specific instances; enabling
> > it by default means that the build fails after a plain ./configure, and
> > you need to pass --disable-werror to make it succeed.
> >
> > I tried to locate the problem myself, but the build scripts are very
> > complex. Could someone please give me some hints?
>
> What are the errors you see? We aim for warning-free builds, so the best
> fix would be to get rid of these warnings.
Indeed. If you use the development branch, then we want warnings
to trigger an error -- otherwise, those warnings very rarely get
looked at. The situation is different on release branches, where
warnings are made non-fatal.
--
Joel
next prev parent reply other threads:[~2021-12-29 3:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-28 22:16 Andrea Monaco
2021-12-29 2:49 ` Simon Marchi
2021-12-29 3:46 ` Joel Brobecker [this message]
2021-12-29 14:43 ` Andrew Burgess
2021-12-29 18:06 Andrea Monaco
2021-12-30 15:55 ` Andrew Burgess
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=YcvaIOpnEsSMfDOs@adacore.com \
--to=brobecker@adacore.com \
--cc=andrea.monaco@autistici.org \
--cc=gdb@sourceware.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).