[sr-dev] xmlrpc: missing declaration of vsnprintf

Juha Heinanen jh at tutpro.com
Wed Jun 8 08:13:21 CEST 2016


While compiling Kamailio 4.3 on Debian Jessie, I got this:

CC (gcc) [M xmlrpc.so]		xmlrpc.o
xmlrpc.c: In function 'set_fault':
xmlrpc.c:886:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
  vsnprintf(buf, REASON_BUF_LEN, fmt, ap);
  ^
xmlrpc.c: In function 'print_value':
xmlrpc.c:1015:3: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
   body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
   ^
xmlrpc.c:1015:14: warning: incompatible implicit declaration of built-in function 'snprintf'
   body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
              ^

Sounds pretty serious.

-- Juha



More information about the sr-dev mailing list