Re: -Werror enabled by default on GNU/Hurd

Simon Marchi via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>

On 2021-12-28 17:16, Andrea Monaco via Gdb wrote:
> 
> 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?
> 
> 
> 
> Thanks,
> 
> Andrea Monaco

What are the errors you see?  We aim for warning-free builds, so the best
fix would be to get rid of these warnings.

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.