Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Packages using -Werror
Date: Fri, 03 May 2013 03:59:40
Message-Id: 20130502220934.10f514c5@caribou.gateway.2wire.net
1 Most of the bugs filed on the gcc 4.8 tracker so far have been caused by
2 packages being built with -Werror. I just noticed one package where the
3 Makefile was being patched to remove -g from CXXFLAGS but -Werror on the same
4 line was left in. Just in case people weren't aware, building with -Werror is
5 a bad idea and against policy*. If you're fixing one of these bugs by
6 silencing the warning be sure to remove the flag also.
7
8 Thanks!
9
10 https://bugs.gentoo.org/show_bug.cgi?id=werror
11 http://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror
12
13
14
15 * said policy might not actually exist in writing outside of the mailing list.
16 still a bad idea though.
17
18 --
19 gcc-porting
20 toolchain, wxwidgets
21 @ gentoo.org

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Packages using -Werror Peter Stuge <peter@×××××.se>
Re: [gentoo-dev] Packages using -Werror Ben de Groot <yngwin@g.o>