Snippets for gvmd 26.43.0 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/gvmd/gvmd-26.43.0-r0.log.
-
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/ipc.c:106:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 106 | g_debug ("%s: semaphore set has %lu semaphores, expected %d.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | __func__, sem_info.sem_nsems, SEMAPHORE_SET_SIZE); | ~~~~~~~~~~~~~~~~~~ | | | int -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_resources.c:952:8: warning: 'extra_where' may be used uninitialized [-Wmaybe-uninitialized] 952 | rc = count2 (get->subtype ? get->subtype : type, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | &count_get, | ~~~~~~~~~~~ 954 | type_owned (type) ? select_columns : NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | type_owned (type) ? select_columns : NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 956 | NULL, | ~~~~~ 957 | NULL, | ~~~~~ 958 | type_owned (type) ? filter_columns : NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 959 | 0, | ~~ 960 | extra_tables, | ~~~~~~~~~~~~~ 961 | extra_where, | ~~~~~~~~~~~~ 962 | extra_with, | ~~~~~~~~~~~ 963 | type_owned (type)); | ~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_nvts.c:417:64: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 417 | extra_where = g_strdup_printf (" AND modification_time > %ld" | ~~^ | | | long int | %lld 418 | " AND creation_time <= %ld", 419 | count_time, | ~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_nvts.c:417:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 417 | extra_where = g_strdup_printf (" AND modification_time > %ld" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_nvts.c:422:60: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 422 | extra_where = g_strdup_printf (" AND creation_time > %ld", | ~~^ | | | long int | %lld 423 | count_time); | ~~~~~~~~~~ | | | time_t {aka long long int} -
/usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp] 4 | #warning usage of non-standard #include <sys/cdefs.h> is deprecated | ^~~~~~~ -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/gvmd.c:2283:18: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 2283 | g_debug ("%s: last_schedule_time: %li", __func__, *last_schedule); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_secinfo.c:1661:64: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 1661 | extra_where = g_strdup_printf (" AND modification_time > %ld" | ~~^ | | | long int | %lld 1662 | " AND creation_time <= %ld", 1663 | count_time, | ~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_secinfo.c:1661:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 1661 | extra_where = g_strdup_printf (" AND modification_time > %ld" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_secinfo.c:1666:60: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 1666 | extra_where = g_strdup_printf (" AND creation_time > %ld", | ~~^ | | | long int | %lld 1667 | count_time); | ~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_secinfo.c:2677:56: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 2677 | "%s ('%s', '%s', '%s', %li, %li, %d, '%s')", | ~~^ | | | long int | %lli -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage_sql_secinfo.c:2677:61: warning: format '%li' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 2677 | "%s ('%s', '%s', '%s', %li, %li, %d, '%s')", | ~~^ | | | long int | %lli -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage.c:3262:49: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 3262 | command = g_strdup_printf ("gvmcg %ld %s", | ~~^ | | | long int | %lld 3263 | cmd_param_1, | ~~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage.c:3266:49: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 3266 | command = g_strdup_printf ("gvmcg %ld %ld %s", | ~~^ | | | long int | %lld 3267 | cmd_param_1, | ~~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage.c:3266:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 3266 | command = g_strdup_printf ("gvmcg %ld %ld %s", | ~~^ | | | long int | %lld 3267 | cmd_param_1, 3268 | cmd_param_2, | ~~~~~~~~~~~ | | | time_t {aka long long int} -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/manage.c:4144:15: warning: 'web_application_vts_pid' may be used uninitialized [-Wmaybe-uninitialized] 4144 | wait_for_pid (web_application_vts_pid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4145 | "Web Application VTs sync"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/gmp.c:11075:33: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time_t *' {aka 'long long int *'} [-Wformat=] -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/gmp.c:11095:42: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time_t *' {aka 'long long int *'} [-Wformat=] -
/home/buildozer/aports/community/gvmd/src/gvmd-26.43.0/src/gmp.c:11367:36: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time_t *' {aka 'long long int *'} [-Wformat=]