Bug#358068: FTBFS with G++ 4.1: dereferencing type-punned pointer
will break strict-aliasing rules
Martin Michlmayr
tbm at cyrius.com
Tue Mar 21 02:11:08 UTC 2006
Package: linphone
Version: 1.3.1-1
Severity: important
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
> Automatic build of linphone_1.3.1-1 on bigsur by sbuild/mips 1.106
...
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -D_REENTRANT -I.. -Wall -g -O2 -Wall -Werror -DORTP_INET6 -DORTP_BIGENDIAN -MT sessionset.lo -MD -MP -MF .deps/sessionset.Tpo -c sessionset.c -fPIC -DPIC -o .libs/sessionset.o
> cc1: warnings being treated as errors
> sessionset.c: In function 'session_set_and':
> sessionset.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
> sessionset.c:67: warning: dereferencing type-punned pointer will break strict-aliasing rules
> sessionset.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[6]: *** [sessionset.lo] Error 1
> make[6]: Leaving directory `/build/tbm/linphone-1.3.1/oRTP/src'
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-voip-maintainers
mailing list