sergey-safarov created an issue (kamailio/kamailio#4480)

```
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:362:57:
 warning: format ‘%d’ expects argument of type ‘int’, but argument 11 has type 
‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  362 |                                         fprintf(stderr, "%2d(%d) %s: 
%.*s%s%s%s" fmt, process_no,  \
      |                                                         
^~~~~~~~~~~~~~~~~~~~~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:390:9:
 note: in expansion of macro ‘LOG_FX’
  390 |         LOG_FX(facility, level, lname, prefix, _FUNC_NAME_, fmt, ##args)
      |         ^~~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:396:9:
 note: in expansion of macro ‘LOG_FL’
  396 |         LOG_FL(facility, level, NULL, prefix, fmt, ##args)
      |         ^~~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:399:9:
 note: in expansion of macro ‘LOG_FP’
  399 |         LOG_FP(DEFAULT_FACILITY, (level), LOC_INFO, fmt, ##args)
      |         ^~~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:461:27:
 note: in expansion of macro ‘LOG’
  461 | #define DBG(fmt, args...) LOG(L_DBG, fmt, ##args)
      |                           ^~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:465:29:
 note: in expansion of macro ‘DBG’
  465 | #define DEBUG(fmt, args...) DBG(fmt, ##args)
      |                             ^~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/../../core/mem/../dprint.h:505:16:
 note: in expansion of macro ‘DEBUG’
  505 | #define LM_DBG DEBUG
      |                ^~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/auth_radius/sterman.c:70:9:
 note: in expansion of macro ‘LM_DBG’
   70 |         LM_DBG("vp->attribute '%d'\n", vp->attribute);
      |         ^~~~~~
```
### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

Tested current master branch, 1f02e0a90ae0d463b8843c9d72aaf58a068ce02a commit 

* **Operating System**:
CentOS 10
```sh
[root@nout /]# cat /etc/os-release 
NAME="CentOS Stream"
VERSION="10 (Coughlan)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="10"
PLATFORM_ID="platform:el10"
PRETTY_NAME="CentOS Stream 10 (Coughlan)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:10"
HOME_URL="https://centos.org/";
VENDOR_NAME="CentOS"
VENDOR_URL="https://centos.org/";
BUG_REPORT_URL="https://issues.redhat.com/";
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 10"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
```

* **Compiler info**
```sh
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap 
--enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-shared --enable-threads=posix --enable-checking=release 
--enable-multilib --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-linker-build-id --with-gcc-major-version-only 
--enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array 
--without-isl --enable-offload-targets=nvptx-none,amdgcn-amdhsa 
--enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function 
--enable-cet --with-tune=generic --with-arch_64=x86-64-v3 --with-arch_32=x86-64 
--build=x86_64-redhat-linux --with-build-config=bootstrap-lto 
--enable-link-serialization=1 --enable-host-pie --enable-host-bind-now
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.3.1 20250617 (Red Hat 14.3.1-2) (GCC) 
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4480
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to