Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209819

Summary: net-libs/ortp-0.13.1 uses -Werror
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Stefan Knoblich (RETIRED) <stkn>
Status: RESOLVED FIXED    
Severity: normal CC: voip+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-12 11:37:37 UTC
cc1: warnings being treated as errors
rtpsend.c: In function ‘main’:
rtpsend.c:50: warning: format not a string literal and no format arguments
rtpsend.c:57: warning: format not a string literal and no format arguments
rtpsend.c:66: warning: format not a string literal and no format arguments
make[4]: *** [rtpsend.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 *
 * ERROR: net-libs/ortp-0.13.1 failed.

Adding more warnings is something I do for myself most of the times, but often happens with new GCC releases, using -Werror in ebuilds is a very very very bad idea.
Comment 1 SpanKY gentoo-dev 2008-02-12 21:38:50 UTC
added --disable-strict to the build

http://sources.gentoo.org/net-libs/ortp/ortp-0.13.1.ebuild?r1=1.3&r2=1.4