-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.3
-
None
-
Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022)
-
1
Getting these compilation warnings when building agent on AIX 7.1 or 7.2
stats.c:383:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] zabbix_log(LOG_LEVEL_DEBUG, "End of %s() extended diskstat shared memory: old_max:%d new_max:%d old_size:" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:385:42: new_max, (zbx_fs_size_t)old_shm_size, (zbx_fs_size_t)new_shm_size, old_shmid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/log.h:57:28: note: in definition of macro 'zabbix_log' __zbx_zabbix_log(level, __VA_ARGS__); \ ^~~~~~~~~~~ In file included from ../../include/module.h:23, from ../../include/common.h:24, from ../../include/threads.h:23, from stats.h:23, from stats.c:20: ../../include/zbxtypes.h:134:28: note: format string is defined here # define ZBX_FS_UI64 "%llu" ~~~^ %lu
Lots of them.