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

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 7 18:10:00 CEST 2013


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 *




More information about the sr-users mailing list