make[4]: Entering directory '/home/src/sofia-sip/libsofia-sip-ua/su'
COMPILE addrinfo.o
LTCOMPILE su.lo
LTCOMPILE su_errno.lo
LTCOMPILE su_addrinfo.lo
LTCOMPILE su_alloc.lo
su_alloc.c:1893:38: warning: argument 1 of type ‘su_home_stat_t[1]’ with mismatched bound [-Warray-parameter=]
1893 | void su_home_stat_add(su_home_stat_t total[1], su_home_stat_t const hs[1])
| ~~~~~~~~~~~~~~~^~~~~~~~
In file included from su_alloc.c:186:
sofia-sip/su_alloc_stat.h:54:46: note: previously declared as ‘su_home_stat_t *’
54 | SU_DLL void su_home_stat_add(su_home_stat_t *total,
| ~~~~~~~~~~~~~~~~^~~~~
su_alloc.c:1893:69: warning: argument 2 of type ‘const su_home_stat_t[1]’ with mismatched bound [-Warray-parameter=]
1893 | void su_home_stat_add(su_home_stat_t total[1], su_home_stat_t const hs[1])
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from su_alloc.c:186:
sofia-sip/su_alloc_stat.h:55:52: note: previously declared as ‘const su_home_stat_t *’
55 | su_home_stat_t const *hs);
| ~~~~~~~~~~~~~~~~~~~~~~^~
LTCOMPILE su_alloc_lock.lo
......
In file included from su_timer.c:36:
sofia-sip/heap.h:163:54: warning: argument 2 of type ‘su_timer_queue_t[1]’ {aka ‘su_timer_ heap_t[1]’} with mismatched bound [-Warray-parameter=]
163 | scope int prefix##resize(void *realloc_arg, heaptype h[1], size_t new_size)
su_timer.c:211:1: note: in expansion of macro ‘HEAP_BODIES’
211 | HEAP_BODIES(su_inline, su_timer_queue_t, timers_, su_timer_t *,
| ^~~~~~~~~~~
su_timer.c:181:25: note: previously declared as ‘su_timer_queue_t *’ {aka ‘su_timer_heap_t *’}
181 | HEAP_DECLARE(su_inline, su_timer_queue_t, timers_, su_timer_t *);
sofia-sip/heap.h:112:34: note: in definition of macro ‘HEAP_DECLARE’
112 | scope int prefix##resize(void *, heaptype *, size_t);
| ^~~~~~~~
sofia-sip/heap.h:201:52: warning: argument 2 of type ‘su_timer_queue_t[1]’ {aka ‘su_timer_ heap_t[1]’} with mismatched bound [-Warray-parameter=]
201 | scope int prefix##free(void *realloc_arg, heaptype h[1])
su_timer.c:211:1: note: in expansion of macro ‘HEAP_BODIES’
211 | HEAP_BODIES(su_inline, su_timer_queue_t, timers_, su_timer_t *,
| ^~~~~~~~~~~
su_timer.c:181:25: note: previously declared as ‘su_timer_queue_t *’ {aka ‘su_timer_heap_t *’}
181 | HEAP_DECLARE(su_inline, su_timer_queue_t, timers_, su_timer_t *);
sofia-sip/heap.h:113:32: note: in definition of macro ‘HEAP_DECLARE’
113 | scope int prefix##free(void *, heaptype *); \
....
LTCOMPILE su_localinfo.lo
su_localinfo.c:1171:40: warning: argument 1 of type ‘const su_localinfo_t[1]’ {aka ‘const struct su_localinfo_s[1]’} with mismatched bound [-Warray-parameter=]
1171 | int bsd_localinfo(su_localinfo_t const hints[1],
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
su_localinfo.c:78:26: note: previously declared as ‘const su_localinfo_t *’ {aka ‘const st ruct su_localinfo_s *’}
78 | static int bsd_localinfo(su_localinfo_t const *, su_localinfo_t **);
...
In file included from sres.c:95:
sres.c:1714:33: warning: argument 2 of type ‘sres_qtable_t[]’ {aka ‘struct sres_qtable_s[] ’} with mismatched bound [-Warray-parameter=]
1714 | HTABLE_BODIES_WITH(sres_qtable, qt, sres_query_t, SRES_QUERY_HASH,
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##_t pr[],
| ^~
sres.c:383:33: note: previously declared as ‘sres_qtable_t[1]’ {aka ‘struct sres_qtable_s[ 1]’}
383 | HTABLE_PROTOS_WITH(sres_qtable, qt, sres_query_t, unsigned, size_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##_resize(su_home_t *, prefix##_t pr[1], size_t);
| ^~
LTCOMPILE sres_cache.lo
In file included from sres_cache.c:68:
sres_cache.c:656:33: warning: argument 2 of type ‘sres_htable_t[]’ {aka ‘struct sres_htabl e_s[]’} with mismatched bound [-Warray-parameter=]
656 | HTABLE_BODIES_WITH(sres_htable, ht, sres_rr_hash_entry_t, SRES_HENTRY_HASH,
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##_t pr[],
| ^~
sres_cache.c:139:33: note: previously declared as ‘sres_htable_t[1]’ {aka ‘struct sres_hta ble_s[1]’}
139 | HTABLE_PROTOS_WITH(sres_htable, ht, sres_rr_hash_entry_t, unsigned, size_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##resize(su_home_t *, prefix##t pr[1], size_t);
| ^~
In file included from sres_cache.c:69:
./../su/sofia-sip/heap.h:163:54: warning: argument 2 of type ‘sres_heap_t[1]’ with mismatc hed bound [-Warray-parameter=]
163 | scope int prefix##resize(void *realloc_arg, heaptype h[1], size_t new_size)
sres_cache.c:684:1: note: in expansion of macro ‘HEAP_BODIES’
684 | HEAP_BODIES(static inline,
| ^~~~~~~~~~~
sres_cache.c:93:29: note: previously declared as ‘sres_heap_t *’
93 | HEAP_DECLARE(static inline, sres_heap_t, sres_heap, sres_rr_hash_entry_t *);
./../su/sofia-sip/heap.h:112:34: note: in definition of macro ‘HEAP_DECLARE’
112 | scope int prefix##resize(void *, heaptype *, size_t);
| ^~~~~~~~
./../su/sofia-sip/heap.h:201:52: warning: argument 2 of type ‘sres_heap_t[1]’ with mismatc hed bound [-Warray-parameter=]
201 | scope int prefix##free(void *realloc_arg, heaptype h[1])
sres_cache.c:684:1: note: in expansion of macro ‘HEAP_BODIES’
684 | HEAP_BODIES(static inline,
| ^~~~~~~~~~~
sres_cache.c:93:29: note: previously declared as ‘sres_heap_t *’
93 | HEAP_DECLARE(static inline, sres_heap_t, sres_heap, sres_rr_hash_entry_t *);
./../su/sofia-sip/heap.h:113:32: note: in definition of macro ‘HEAP_DECLARE’
113 | scope int prefix##free(void *, heaptype *); \
.....
msg_date.c: In function ‘time_d’:
msg_date.c:146:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
146 | if (!IS_LWS(s)) return -1; skip_lws(&s);
| ^~
In file included from msg_date.c:47:
./../bnf/sofia-sip/bnf.h:92:22: note: ...this statement, but the latter is misleadingly in dented as if it were guarded by the ‘if’
92 | #define skip_lws(ss) ((ss) += span_lws(*(ss)))
| ^
msg_date.c:146:33: note: in expansion of macro ‘skip_lws’
146 | if (!IS_LWS(*s)) return -1; skip_lws(&s);
| ^~~~~~~~
msg_date.c: In function ‘msg_date_d’:
msg_date.c:251:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
251 | if (mon < 0 || !IS_LWS(*s)) return -1; s++;
| ^~
msg_date.c:251:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
251 | if (mon < 0 || !IS_LWS(*s)) return -1; s++;
.....
sip_basic.c: In function ‘sip_identity_d’:
sip_basic.c:2884:15: warning: assignment discards ‘const’ qualifier from pointer target ty pe [-Wdiscarded-qualifiers]
2884 | uri = pp + 1;
| ^
sip_basic.c:2906:40: warning: passing argument 3 of ‘msg_params_d’ from incompatible point er type [-Wincompatible-pointer-types]
2906 | if (msg_params_d(home, &ext, ¶ms) >= 0) {
| ^~~~~~~
| |
| const char ***
In file included from sofia-sip/sip_parser.h:52,
from sip_basic.c:46:
./../msg/sofia-sip/msg_parser.h:280:55: note: expected ‘const char * const**’ but argument is of type ‘const char ***’
280 | msg_param_t const **return_params);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
.....
http_parser.c: In function ‘http_method_d’:
http_parser.c:467:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentatio n]
467 | if (MATCH(s, "PUT")) code = http_method_put; break;
| ^~
http_parser.c:467:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
467 | if (MATCH(s, "PUT")) code = http_method_put; break;
| ^~~~~
http_parser.c:466:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentat ion]
466 | else
| ^~~~
http_parser.c:467:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
467 | if (MATCH(s, "PUT")) code = http_method_put; break;
| ^~~~~
LTCOMPILE http_header.lo
http_header.c: In function ‘http_request_complete’:
http_header.c:73:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
73 | if (!http->http_host)
| ^~
http_header.c:76:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
76 | for (pl = http->http_payload; pl; pl = pl->pl_next)
| ^~~
.....
/usr/include/openssl/ssl.h:1884:1: note: declared here
1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))
| ^~~~~~~~~~~~~~~~~~
In file included from stun.c:48:
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1362:7: note: in expansion of macro ‘STUN_ERROR’
1362 | STUN_ERROR(errno, SSL_CTX_new);
| ^~~~~~~~~~
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1368:7: note: in expansion of macro ‘STUN_ERROR’
1368 | STUN_ERROR(errno, SSL_CTX_set_cipher_list);
| ^~~~~~~~~~
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1378:7: note: in expansion of macro ‘STUN_ERROR’
1378 | STUN_ERROR(err, connect);
| ^~~~~~~~~~
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1444:9: note: in expansion of macro ‘STUN_ERROR’
1444 | STUN_ERROR(errno, SSL_write);
| ^~~~~~~~~~
stun.c: In function ‘stun_bind_callback’:
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1685:5: note: in expansion of macro ‘STUN_ERROR’
1685 | STUN_ERROR(err, recvfrom);
| ^~~~~~~~~~
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:1690:5: note: in expansion of macro ‘STUN_ERROR’
1690 | STUN_ERROR(err, recvfrom);
| ^~~~~~~~~~
stun.c: In function ‘stun_sendto_timer_cb’:
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wun used-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", func, #what, su_strerror(err))),
| ^
stun.c:2280:5: note: in expansion of macro ‘STUN_ERROR’
2280 | STUN_ERROR(errno, stun_sendto_timer_cb);
| ^~~~~~~~~~
.....
In file included from nta.c:79:
nta.c:4164:32: warning: argument 2 of type ‘leg_htable_t[]’ {aka ‘struct leg_htable_s[]’} with mismatched bound [-Warray-parameter=]
4164 | HTABLE_BODIES_WITH(leg_htable, lht, nta_leg_t, HTABLE_HASH_LEG, size_t, hash_value _t);
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##_t pr[],
| ^~
nta.c:674:32: note: previously declared as ‘leg_htable_t[1]’ {aka ‘struct leg_htable_s[1]’ }
674 | HTABLE_PROTOS_WITH(leg_htable, lht, nta_leg_t, size_t, hash_value_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##_resize(su_home_t *, prefix##_t pr[1], size_t);
| ^~
nta.c:5289:37: warning: argument 2 of type ‘incoming_htable_t[]’ {aka ‘struct incoming_hta ble_s[]’} with mismatched bound [-Warray-parameter=]
5289 | HTABLE_BODIES_WITH(incoming_htable, iht, nta_incoming_t, HTABLE_HASH_IRQ,
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##_t pr[],
| ^~
nta.c:688:37: note: previously declared as ‘incoming_htable_t[1]’ {aka ‘struct incoming_ht able_s[1]’}
688 | HTABLE_PROTOS_WITH(incoming_htable, iht, nta_incoming_t, size_t, hash_value_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##_resize(su_home_t *, prefix##_t pr[1], size_t);
| ^~
nta.c:7265:37: warning: argument 2 of type ‘outgoing_htable_t[]’ {aka ‘struct outgoing_hta ble_s[]’} with mismatched bound [-Warray-parameter=]
7265 | HTABLE_BODIES_WITH(outgoing_htable, oht, nta_outgoing_t, HTABLE_HASH_ORQ,
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##_t pr[],
| ^~
nta.c:734:37: note: previously declared as ‘outgoing_htable_t[1]’ {aka ‘struct outgoing_ht able_s[1]’}
734 | HTABLE_PROTOS_WITH(outgoing_htable, oht, nta_outgoing_t, size_t, hash_value_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##_resize(su_home_t *, prefix##_t pr[1], size_t);
| ^~
.....
In file included from nth_client.c:79:
nth_client.c:252:31: warning: argument 2 of type ‘hc_htable_t[]’ {aka ‘struct hc_htable_s[ ]’} with mismatched bound [-Warray-parameter=]
252 | HTABLE_BODIES_WITH(hc_htable, hct, nth_client_t, HTABLE_HASH_CLIENT,
./../su/sofia-sip/htable.h:130:32: note: in definition of macro ‘HTABLE_BODIES_WITH’
130 | prefix##t pr[],
| ^~
nth_client.c:243:31: note: previously declared as ‘hc_htable_t[1]’ {aka ‘struct hc_htable s[1]’}
243 | HTABLE_PROTOS_WITH(hc_htable, hct, nth_client_t, uintptr_t, size_t);
./../su/sofia-sip/htable.h:103:58: note: in definition of macro ‘HTABLE_PROTOS_WITH’
103 | HTABLE_SCOPE int prefix##_resize(su_home_t *, prefix##_t pr[1], size_t);
| ^~
.....
nua_stack.c: In function ‘nua_stack_deinit’:
nua_stack.c:243:45: warning: extra tokens at end of #endif directive [-Wendif-labels]
243 | #endif /* End NRC Boston */}
| ^
nua_stack.c: At top level:
nua_stack.c:729:42: warning: argument 1 of type ‘su_msg_t *[1]’ {aka ‘struct su_msg_s *[1] ’} with mismatched bound [-Warray-parameter=]
729 | void nua_destroy_event(nua_saved_event_t saved[1])
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from nua_stack.c:69:
sofia-sip/nua.h:378:55: note: previously declared as ‘su_msg_t **’ {aka ‘struct su_msg_s * *’}
378 | SOFIAPUBFUN void nua_destroy_event(nua_saved_event_t *saved);
| ~~~~~~~~~~~~~~~~~~~^~~~~
.....