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; ^
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
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