Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114902 - sys-devel/gdb uses -Werror and fails when using -Wformat=2
Summary: sys-devel/gdb uses -Werror and fails when using -Wformat=2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 12:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-12-08 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-08 12:37:16 UTC
I'm failing to update to gdb-6.4 with my default cflags, that haves -Wformat=2 
(I know, it's not good to add extra -W flags, but I use that to look for 
format strings to be safe in packages I maintain at least), but it builds with 
-Werror and then bails out as -Wformat=2 creates some warnings. 
 
Would it be possible to remove -Werror from gdb build? 
 
Thanks, 
Diego
Comment 1 SpanKY gentoo-dev 2005-12-08 12:40:15 UTC
EXTRA_ECONF=--disable-werror emerge gdb
Comment 2 SpanKY gentoo-dev 2005-12-08 16:01:27 UTC
added configure flag to 6.4