[asterisk-bugs] [JIRA] Created: (ASTERISK-20368) res_rtp_asterisk: Eliminate "type-punned pointer" build warning.
Shaun Ruffell (JIRA)
noreply at issues.asterisk.org
Thu Sep 6 14:55:07 CDT 2012
res_rtp_asterisk: Eliminate "type-punned pointer" build warning.
----------------------------------------------------------------
Key: ASTERISK-20368
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20368
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_rtp_asterisk
Affects Versions: 11.0.0-beta1
Environment: Centos 5.8 i686
Reporter: Shaun Ruffell
Attachments: 0001-res_rtp_asterisk-Eliminate-type-punned-pointer-build.patch
elguero reported on #asterisk-dev:
{noformat}
History:
1004 svn co http://svn.digium.com/svn/asterisk/trunk asterisk-new
1005 cd asterisk-new/
1006 ./configure --enable-dev-mode
Version:
cat /etc/redhat-release
CentOS release 5.8 (Final)
gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
make:
a - output/pjnath-i686-pc-linux-gnu/turn_sock.o
../src/pjturn-srv/allocation.c: In function âsend_allocate_responseâ:
../src/pjturn-srv/allocation.c:218: warning: label âTODO___ADD_RESERVATION_TOKENâ defined but not used
[CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
cc1: warnings being treated as errors
res_rtp_asterisk.c: In function âast_rtp_on_ice_tx_pktâ:
res_rtp_asterisk.c:706: warning: dereferencing type-punned pointer will break strict-aliasing rules
res_rtp_asterisk.c:710: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [res_rtp_asterisk.o] Error 1
make[1]: *** [res] Error 2
make[1]: Leaving directory `/usr/src/asterisk-new'
make: *** [_cleantest_all] Error 2
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list