for sure, for clang this doesn't work at all
``` CC (clang) [M db_mysql.so] km_dbase.o CC (clang) [M db_mysql.so] km_val.o CC (clang) [M db_mysql.so] my_fld.o CC (clang) [M db_mysql.so] km_row.o CC (clang) [M db_mysql.so] km_my_con.o CC (clang) [M db_mysql.so] km_res.o CC (clang) [M db_mysql.so] my_cmd.o In file included from my_cmd.c:46: In file included from ./my_cmd.h:25: In file included from ./../../lib/srdb2/db_drv.h:29: In file included from ./../../lib/srdb2/db_gen.h:30: In file included from ./../../lib/srdb2/../../str.h:24: In file included from /usr/include/string.h:25: /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ 1 warning generated. CC (clang) [M db_mysql.so] my_con.o CC (clang) [M db_mysql.so] db_mysql.o CC (clang) [M db_mysql.so] my_res.o CC (clang) [M db_mysql.so] my_uri.o CC (clang) [M db_mysql.so] km_db_mysql.o CC (clang) [L libsrdb2.so.1.0] db_fld.o CC (clang) [L libsrdb2.so.1.0] db.o CC (clang) [L libsrdb2.so.1.0] db_con.o CC (clang) [L libsrdb2.so.1.0] db_res.o CC (clang) [L libsrdb2.so.1.0] db_rec.o CC (clang) [L libsrdb2.so.1.0] db_gen.o CC (clang) [L libsrdb2.so.1.0] db_pool.o CC (clang) [L libsrdb2.so.1.0] db_cmd.o CC (clang) [L libsrdb2.so.1.0] db_drv.o CC (clang) [L libsrdb2.so.1.0] db_uri.o CC (clang) [L libsrdb2.so.1.0] db_ctx.o LD (clang) [L libsrdb2.so.1.0] libsrdb2.so.1.0 CC (clang) [L libsrdb1.so.1.0] db_query.o CC (clang) [L libsrdb1.so.1.0] db_id.o CC (clang) [L libsrdb1.so.1.0] db.o CC (clang) [L libsrdb1.so.1.0] db_row.o CC (clang) [L libsrdb1.so.1.0] db_res.o CC (clang) [L libsrdb1.so.1.0] db_pool.o CC (clang) [L libsrdb1.so.1.0] db_ut.o In file included from db_ut.c:55: In file included from /usr/include/time.h:27: /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ 1 warning generated. CC (clang) [L libsrdb1.so.1.0] db_val.o LD (clang) [L libsrdb1.so.1.0] libsrdb1.so.1.0 LD (clang) [M db_mysql.so] db_mysql.so ```
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/620#issuecomment-219672960