**1** ``` CC (gcc) [kamailio] core/crypto/rijndael.o CC (gcc) [kamailio] core/crypto/sha256.o core/crypto/sha256.c:573:32: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 573 | void sr_SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:157:22: note: previously declared as 'u_int8_t[32]' {aka 'unsigned char[32]'} 157 | void sr_SHA256_Final(u_int8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/crypto/sha256.c:636:47: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 636 | char *sr_SHA256_End(SHA256_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:158:34: note: previously declared as 'char[65]' 158 | char* sr_SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/crypto/sha256.c:936:32: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 936 | void sr_SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:169:22: note: previously declared as 'u_int8_t[64]' {aka 'unsigned char[64]'} 169 | void sr_SHA512_Final(u_int8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/crypto/sha256.c:965:47: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 965 | char *sr_SHA512_End(SHA512_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:170:34: note: previously declared as 'char[129]' 170 | char* sr_SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/crypto/sha256.c:1011:32: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 1011 | void sr_SHA384_Final(sha2_byte digest[], SHA384_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:163:22: note: previously declared as 'u_int8_t[48]' {aka 'unsigned char[48]'} 163 | void sr_SHA384_Final(u_int8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/crypto/sha256.c:1040:47: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 1040 | char *sr_SHA384_End(SHA384_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from core/crypto/sha256.c:36: core/crypto/sha256.h:164:34: note: previously declared as 'char[97]' 164 | char* sr_SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC (gcc) [kamailio] core/crypto/shautils.o CC (gcc) [kamailio] core/cfg/cfg.o CC (gcc) [kamailio] core/cfg/cfg_ctx.o core/cfg/cfg_ctx.c: In function 'cfg_update_defaults': core/cfg/cfg_ctx.c:287:28: warning: the comparison will always evaluate as 'true' for the pointer operand in '(unsigned char *)&ginst->vars + (sizetype)var->offset' must not be NULL [-Waddress] 287 | if(ginst->vars + var->offset) { | ^~~~~ CC (gcc) [kamailio] core/cfg/cfg_script.o CC (gcc) [kamailio] core/cfg/cfg_select.o CC (gcc) [kamailio] core/cfg/cfg_struct.o CC (gcc) [kamailio] core/utils/srjson.o CC (gcc) [kamailio] core/utils/sruid.o CC (gcc) [kamailio] core/utils/tmrec.o ``` **2** ``` LD (gcc) [M nat_traversal.so] nat_traversal.so CC (gcc) [M nathelper.so] nathelper.o nathelper.c: In function 'nh_alias_to_uri': nathelper.c:2840:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 'memchr_pointer + 1' must not be NULL [-Waddress] 2840 | if(&memchr_pointer[1]){ | ^ CC (gcc) [M nathelper.so] nhelpr_funcs.o LD (gcc) [M nathelper.so] nathelper.so CC (gcc) [M path.so] path.o ```
**3** ``` CC (gcc) [M ims_dialog.so] dlg_handlers.o CC (gcc) [M ims_dialog.so] dlg_hash.o dlg_hash.c: In function 'destroy_dlg': dlg_hash.c:256:9: warning: the comparison will always evaluate as 'true' for the address of 'dlg_entry_out' will never be NULL [-Waddress] 256 | if (&(dlg->dlg_entry_out)) { | ^ In file included from dlg_var.h:26, from dlg_hash.c:15: dlg_hash.h:124:26: note: 'dlg_entry_out' declared here 124 | struct dlg_entry_out dlg_entry_out; /*!< list of dialog_out entries */ | ^~~~~~~~~~~~~ CC (gcc) [M ims_dialog.so] dlg_ng_stats.o CC (gcc) [M ims_dialog.so] dlg_profile.o ``` **4** ``` CC (gcc) [M app_lua_sr.so] app_lua_sr_api.o CC (gcc) [M app_lua_sr.so] app_lua_sr_exp.o app_lua_sr_exp.c: In function 'lua_sr_exp_openlibs': app_lua_sr_exp.c:3686:17: warning: implicit declaration of function 'luaL_openlib'; did you mean 'luaL_openlibs'? [-Wimplicit-function-declaration] 3686 | luaL_openlib(L, "sr.sl", _sr_sl_Map, 0); | ^~~~~~~~~~~~ | luaL_openlibs CC (gcc) [M app_lua_sr.so] app_lua_sr_mod.o LD (gcc) [M app_lua_sr.so] app_lua_sr.so CC (gcc) [M lwsc.so] lwsc_mod.o LD (gcc) [M lwsc.so] lwsc.so ``` **5** ``` CC (gcc) [M nats.so] nats_pub.o In file included from nats_pub.c:25: defs.h:49:24: warning: '_nats_rts' defined but not used [-Wunused-variable] 49 | static nats_evroutes_t _nats_rts; | ^~~~~~~~~ LD (gcc) [M nats.so] nats.so CC (gcc) [M app_perl.so] app_perl_mod.o CC (gcc) [M app_perl.so] perlfunc.o xsubpp -typemap `perl -MConfig -e 'print $Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > kamailioxs.c CC (gcc) [M app_perl.so] kamailioxs.o LD (gcc) [M app_perl.so] app_perl.so CC (gcc) [M db_perlvdb.so] db_perlvdb.o CC (gcc) [M db_perlvdb.so] perlvdb_conv.o perlvdb_conv.c: In function 'conds2perlarray': perlvdb_conv.c:60:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'ops + (sizetype)((long unsigned int)i * 8)' must not be NULL [-Waddress] 60 | if (ops + i) | ^~~ CC (gcc) [M db_perlvdb.so] perlvdb_oohelpers.o CC (gcc) [M db_perlvdb.so] perlvdbfunc.o make[3]: 'libsrdb1.so.1.0' is up to date. LD (gcc) [M db_perlvdb.so] db_perlvdb.so CC (gcc) [M phonenum.so] phonenum_mod.o CC (gcc) [M phonenum.so] phonenum_pv.o Compiling cphonenumber.cpp ```
Hopefully fixed by last commits, if some are still there, open a new one to have a fresh log.
Closed #3014.