CC (gcc) [M lost.so]		pidf.o
CC (gcc) [M lost.so]		response.o
CC (gcc) [M lost.so]		utilities.o
utilities.c: In function ‘lost_held_post_request’:
utilities.c:1420:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
 1420 |         xmlKeepBlanksDefault(1);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from pidf.h:37,
                 from utilities.c:49:
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
  957 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_held_location_request’:
utilities.c:1518:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
 1518 |         xmlKeepBlanksDefault(1);
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
  957 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_find_service_request’:
utilities.c:1671:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
 1671 |         xmlKeepBlanksDefault(1);
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
  957 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_parse_geo’:
utilities.c:1050:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
 1050 |         snprintf(loc->latitude, len, "%s", (char *)bufLat);
      |                                         ^
utilities.c:1050:9: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
 1050 |         snprintf(loc->latitude, len, "%s", (char *)bufLat);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities.c:1060:42: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
 1060 |         snprintf(loc->longitude, len, "%s", (char *)bufLon);
      |                                          ^
utilities.c:1060:9: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
 1060 |         snprintf(loc->longitude, len, "%s", (char *)bufLon);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities.c:1074:49: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
 1074 |                 snprintf(loc->altitude, len, "%s", (char *)bufAlt);
      |                                                 ^
utilities.c:1074:17: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
 1074 |                 snprintf(loc->altitude, len, "%s", (char *)bufAlt);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD (gcc) [M lost.so]		lost.so


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4038@github.com>