I got this warning when building 5.2 on Debian Buster:
CC (gcc) [M db_mysql.so] km_dbase.o In file included from km_dbase.c:38: /usr/include/mariadb/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] #warning This file should not be included by clients, include only <mysql.h> ^~~~~~~
-- Juha
Hi Juha,
does it still compile if you remove the header on buster?
Cheers,
Henning
Am 24.07.19 um 21:07 schrieb Juha Heinanen:
I got this warning when building 5.2 on Debian Buster:
CC (gcc) [M db_mysql.so] km_dbase.o In file included from km_dbase.c:38: /usr/include/mariadb/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] #warning This file should not be included by clients, include only <mysql.h> ^~~~~~~
-- Juha
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Hi Juha,
I backported the fix from Victor as well to 5.1 and 5.2.
Cheers,
Henning
Am 05.08.19 um 07:40 schrieb Juha Heinanen:
Henning Westerholt writes:
does it still compile if you remove the header on buster?
K master compiles OK and it doesn't have
#include <mysql_version.h>
-- Juha