[SR-Users] [sr-dev] releasing v4.0.2

Ovidiu Sas osas at voipembedded.com
Fri Jun 7 18:15:49 CEST 2013


All this warnings pop up on the latest debian stable.
Pretty sure that ubuntu will pop them up too.
Centos is a little behind, so no warnings there.

On Fri, Jun 7, 2013 at 12:10 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Probably they are specific for some os/gcc version. I am not getting them on
> my devel computer, perhaps other devs can jump and fix some if they get
> them.
>
> Cheers,
> Daniel
>
>
> On 6/7/13 6:06 PM, Ovidiu Sas wrote:
>>
>> Here's a list of compiler warnings:
>>
>>
>> CC (gcc) [kamailio]             cfg/cfg_ctx.o
>> cfg/cfg_ctx.c: In function ācfg_set_nowā:
>>
>> cfg/cfg_ctx.c:490:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:494:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:564:4: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:564:4: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:565:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:584:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c: In function ācfg_commitā:
>>
>> cfg/cfg_ctx.c:1125:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1133:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1185:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1185:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1190:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1225:4: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1226:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1226:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1228:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c: In function ācfg_add_group_instā:
>>
>> cfg/cfg_ctx.c:1582:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1583:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1585:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1594:3: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c: In function ācfg_del_group_instā:
>>
>> cfg/cfg_ctx.c:1678:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1679:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1681:2: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1692:5: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1710:6: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1712:6: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>> cfg/cfg_ctx.c:1718:3: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules [-Wstrict-aliasing]
>>
>> CC (gcc) [M pdb.so]             pdb.o
>> pdb.c: In function āpdb_queryā:
>>
>> pdb.c:273:7: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules [-Wstrict-aliasing]
>>
>> CC (gcc) [M xmlrpc.so]          xmlrpc.o
>> xmlrpc.c: In function āselect_methodā:
>> xmlrpc.c:2408:9: warning: ādoc.lenā may be used uninitialized in this
>> function [-Wmaybe-uninitialized]
>> xmlrpc.c: In function ādispatch_rpcā:
>> xmlrpc.c:2010:26: warning: ādoc.lenā may be used uninitialized in this
>> function [-Wmaybe-uninitialized]
>> xmlrpc.c:1998:6: note: ādoc.lenā was declared here
>>
>>
>> CC (gcc) [M memcached.so]               mcd_var.o
>> mcd_var.c: In function āpv_get_mcd_value_helperā:
>> mcd_var.c:102:2: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 8 has type āsize_tā [-Wformat]
>> mcd_var.c:103:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 6 has type āsize_tā [-Wformat]
>> mcd_var.c:103:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 7 has type āsize_tā [-Wformat]
>> mcd_var.c:103:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 5 has type āsize_tā [-Wformat]
>> mcd_var.c:103:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 5 has type āsize_tā [-Wformat]
>> mcd_var.c: In function āpv_mcd_atomic_helperā:
>> mcd_var.c:238:2: warning: suggest parentheses around operand of ā!ā or
>> change ā&ā to ā&&ā or ā!ā to ā~ā [-Wparentheses]
>> mcd_var.c:258:2: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 8 has type āsize_tā [-Wformat]
>> mcd_var.c:258:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 6 has type āsize_tā [-Wformat]
>> mcd_var.c:258:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 7 has type āsize_tā [-Wformat]
>> mcd_var.c:258:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 5 has type āsize_tā [-Wformat]
>> mcd_var.c:258:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 5 has type āsize_tā [-Wformat]
>> mcd_var.c: In function āpv_set_mcd_expireā:
>> mcd_var.c:311:2: warning: suggest parentheses around operand of ā!ā or
>> change ā&ā to ā&&ā or ā!ā to ā~ā [-Wparentheses]
>> mcd_var.c:324:2: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 9 has type āsize_tā [-Wformat]
>> mcd_var.c:324:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 7 has type āsize_tā [-Wformat]
>> mcd_var.c:324:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 8 has type āsize_tā [-Wformat]
>> mcd_var.c:324:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 6 has type āsize_tā [-Wformat]
>> mcd_var.c:324:1: warning: field precision specifier ā.*ā expects
>> argument of type āintā, but argument 6 has type āsize_tā [-Wformat]
>>
>> CC (gcc) [M memcached.so]               memcached.o
>> memcached.c: In function āmemcache_err_funcā:
>> memcached.c:149:30: warning: variable āctxtā set but not used
>>
>> [-Wunused-but-set-variable]
>>
>> CC (gcc) [M presence_conference.so]             presence_conference.o
>> presence_conference.c: In function āmod_initā:
>>
>> presence_conference.c:112:16: warning: the comparison will always
>> evaluate as āfalseā for the address of āadd_eventā will never be NULL
>>
>> [-Waddress]
>>
>> CC (gcc) [M pua_reginfo.so]             usrloc_cb.o
>> usrloc_cb.c: In function ābuild_reginfo_fullā:
>> usrloc_cb.c:62:6: warning: variable ābuf_lenā set but not used
>>
>> [-Wunused-but-set-variable]
>>
>> CC (gcc) [M xcap_client.so]             xcap_callbacks.o
>> xcap_callbacks.c: In function ādestroy_xcapcb_listā:
>> xcap_callbacks.c:74:25: warning: variable āprev_xcbā set but not used
>>
>> [-Wunused-but-set-variable]
>>
>> CC (gcc) [M xcap_client.so]             xcap_functions.o
>> xcap_functions.c: In function āxcapFreeNodeSelā:
>> xcap_functions.c:72:17: warning: variable āmā set but not used
>>
>> [-Wunused-but-set-variable]
>>
>> CC (gcc) [U kamcmd]             parse_listen_id.o
>> parse_listen_id.c: In function āstr2sā:
>> parse_listen_id.c:66:17: warning: variable āinitā set but not used
>>
>> [-Wunused-but-set-variable]
>>
>>
>>
>> On Fri, Jun 7, 2013 at 3:29 AM, Daniel-Constantin Mierla
>> <miconda at gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> I am considering to release kamailio v4.0.2 next week on Wednesday, June
>>> 12.
>>> Developers that committed fixes on master branch and should be
>>> backported,
>>> have to do it before. Overall, everyone should keep an eye and be sure
>>> their
>>> demanded fixes are backported.
>>>
>>> Cheers,
>>> Daniel
>>>
>>> --
>>> Daniel-Constantin Mierla - http://www.asipto.com
>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
>>>    * http://asipto.com/u/katu *
>>>
>>>
>>> _______________________________________________
>>> sr-dev mailing list
>>> sr-dev at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>
>>
>>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
>   * http://asipto.com/u/katu *
>



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the sr-users mailing list