[OpenSIPS-Devel] opensips 1.8.0-beta compiler warnings

Ovidiu Sas osas at voipembedded.com
Fri Apr 13 17:48:11 CEST 2012


[core]
Compiling pass_fd.c
pass_fd.c: In function ‘send_fd’:
pass_fd.c:132:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
pass_fd.c: In function ‘receive_fd’:
pass_fd.c:234:3: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]

[b2b_entities]
Compiling dlg.c
dlg.c: In function ‘b2b_prescript_f’:
dlg.c:496:22: warning: variable ‘sock_list’ set but not used
[-Wunused-but-set-variable]

[dns_cache]
Compiling dns_cache.c
dns_cache.c: In function ‘deserialize_he_rdata’:
dns_cache.c:255:16: warning: variable ‘actual_len’ set but not used
[-Wunused-but-set-variable]

[group]
Compiling re_group.c
re_group.c: In function ‘get_user_group’:
re_group.c:165:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]

[db_berkeley]
Compiling bdb_recover.c
bdb_recover.c: In function ‘load_metadata_columns’:
bdb_recover.c:818:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]



More information about the Devel mailing list