Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209819 - net-libs/ortp-0.13.1 uses -Werror
Summary: net-libs/ortp-0.13.1 uses -Werror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 11:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-02-12 21:38 UTC (History)
1 user (show)

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 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