Here is my warnings report:<br><br>CC (gcc) [M sca.so] sca_appearance.o<br>CC (gcc) [M sca.so] sca.o<br>CC (gcc) [M sca.so] sca_call_info.o<br>sca_call_info.c: In function ‘sca_call_info_seize_held_call’:<br>
sca_call_info.c:703:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘callee_aor’ will never be NULL [-Waddress]<br>sca_call_info.c:703:11: warning: the comparison will always evaluate as ‘false’ for the address of ‘callee_aor’ will never be NULL [-Waddress]<br>
CC (gcc) [M sca.so] sca_db.o<br>CC (gcc) [M sca.so] sca_dialog.o<br>CC (gcc) [M sca.so] sca_event.o<br>CC (gcc) [M sca.so] sca_hash.o<br>CC (gcc) [M sca.so] sca_notify.o<br>
CC (gcc) [M sca.so] sca_reply.o<br>CC (gcc) [M sca.so] sca_rpc.o<br>sca_rpc.c: In function ‘sca_rpc_update_appearance’:<br>sca_rpc.c:369:8: warning: the comparison will always evaluate as ‘true’ for the address of ‘app_uri’ will never be NULL [-Waddress]<br>
sca_rpc.c:369:8: warning: the comparison will always evaluate as ‘false’ for the address of ‘app_uri’ will never be NULL [-Waddress]<br>CC (gcc) [M sca.so] sca_subscribe.o<br>sca_subscribe.c: In function ‘sca_subscription_from_request’:<br>
sca_subscribe.c:1020:10: warning: the comparison will always evaluate as ‘true’ for the address of ‘to_tag’ will never be NULL [-Waddress]<br>sca_subscribe.c:1020:10: warning: the comparison will always evaluate as ‘false’ for the address of ‘to_tag’ will never be NULL [-Waddress]<br>
CC (gcc) [M sca.so] sca_util.o<br>make[1]: `libkcore.so.1.0' is up to date.<br>make[1]: `libsrdb1.so.1.0' is up to date.<br>LD (gcc) [M sca.so] sca.so<br><br># uname -m<br>x86_64<br><br># gcc --version<br>
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3<br><br># lsb_release -a<br>No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description: Ubuntu 12.04.1 LTS<br>Release: 12.04<br>Codename: precise<br><br>
<br><div class="gmail_quote">2013/3/16 Andrew Mortensen <span dir="ltr"><<a href="mailto:admorten@isc.upenn.edu" target="_blank">admorten@isc.upenn.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
FreeBSD version? gcc version?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Mar 16, 2013, at 7:03 AM, "Olle E. Johansson" <<a href="mailto:oej@edvina.net">oej@edvina.net</a>> wrote:<br>
<br>
> sca_subscribe.c:459: warning: format '%ld' expects type 'long int', but argument 7 has type 'time_t'<br>
> sca_subscribe.c:459: warning: format '%ld' expects type 'long int', but argument 5 has type 'time_t'<br>
> sca_subscribe.c:459: warning: format '%ld' expects type 'long int', but argument 6 has type 'time_t'<br>
> sca_subscribe.c:459: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'<br>
> sca_subscribe.c:459: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'<br>
> sca_subscribe.c: In function 'sca_subscription_print':<br>
> sca_subscribe.c:679: warning: format '%ld' expects type 'long int', but argument 13 has type 'time_t'<br>
> sca_subscribe.c:679: warning: format '%ld' expects type 'long int', but argument 11 has type 'time_t'<br>
> sca_subscribe.c:679: warning: format '%ld' expects type 'long int', but argument 12 has type 'time_t'<br>
> sca_subscribe.c:679: warning: format '%ld' expects type 'long int', but argument 10 has type 'time_t'<br>
> sca_subscribe.c:679: warning: format '%ld' expects type 'long int', but argument 10 has type 'time_t'<br>
><br>
><br>
> /O<br>
> _______________________________________________<br>
> sr-dev mailing list<br>
> <a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</div></div></blockquote></div><br>