[sr-dev] new compiler warnings in master

Henning Westerholt hw at kamailio.org
Tue Aug 14 19:44:34 CEST 2018


Am Montag, 13. August 2018, 23:12:31 CEST schrieb Henning Westerholt:
> > 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;
> 
> 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.

Hi Juha,

at least in my installation with mariadb it's now fixed in current master. Let 
me know if you still see it.

Best regards,

Henning

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



More information about the sr-dev mailing list