Re: -Werror enabled by default on GNU/Hurd

Joel Brobecker via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> > 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
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.