Some of this warnings (and many others) are already fixed in trunk.
-ovidiu
On Mon, May 6, 2013 at 8:27 AM, Konstantin M. <evilzluk(a)gmail.com> wrote:
Hello
Distributor ID: Debian
Description: Debian GNU/Linux 7.0 (wheezy)
Release: 7.0
Codename: wheezy
gcc (Debian 4.7.2-5) 4.7.2
CC (gcc) [kamailio] dns_cache.o
dns_cache.c: In function 'dns_srv_get_nxt_rr':
dns_cache.c:2302:5: warning: 'r_sums[1].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[1].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[2].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[2].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[3].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[3].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[4].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[4].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[5].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[5].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[6].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[6].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[7].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[7].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[8].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[8].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[9].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[9].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[10].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[10].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[11].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[11].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[12].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[12].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[13].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[13].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[14].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[14].rr' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[15].r_sum' may be used uninitialized in
this function [-Wuninitialized]
dns_cache.c:2302:5: warning: 'r_sums[15].rr' may be used uninitialized in
this function [-Wuninitialized]
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) [kamailio] cfg/cfg_struct.o
cfg/cfg_struct.c: In function 'apply_add_var_list':
cfg/cfg_struct.c:1091:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
cfg/cfg_struct.c:1092:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
VoIP Embedded, Inc.
http://www.voipembedded.com