[sr-dev] new compiler warnings in master

Henning Westerholt hw at kamailio.org
Mon Aug 13 23:12:31 CEST 2018


Am Montag, 13. August 2018, 17:25:40 CEST schrieb Juha Heinanen:
> CC (gcc) [M db_mysql.so]		my_cmd.o
> my_cmd.c: In function 'set_field':
> my_cmd.c:774:16: warning: assignment from incompatible pointer type
> [-Wincompatible-pointer-types] bind->is_null = &f->is_null;
>                 ^
> my_cmd.c: In function 'bind_result':
> my_cmd.c:1004:21: warning: assignment from incompatible pointer type
> [-Wincompatible-pointer-types] result[i].is_null = &f->is_null;

Hi Juha,

this was introduced in commit 1736723cc2a15bb75c2. I am looking into it, its a 
bit tricky to just #ifdef it, as MariaDB introduced its own versioning.

Best regards,

Henning
-- 
Henning Westerholt
https://skalatan.de/blog/



More information about the sr-dev mailing list