[odb-users] "MYSQL_BIND" :redefined;
sharper
sharperm at 163.com
Mon Jan 21 21:07:00 EST 2019
Hi
Thanks for your resolution for my issue. I have compiled successfully in mysql version 5.7.x.
After compared mysql 5.7.x with mysql 8.0.12, I find that "my_bool" is no longer exist in the file of mysql.h at mysql version 8.0.12,
And "MYSQL_BIND" had defined in the file of mysql.h at mysql version 8.0.12, not defined in mysql version 5.7.x.
I will also try the mothed that you gived for me. thanks again.
--
------------------------------------------------------------------------------------------------------------------------------------------------
Name: Sharperm
Time:2019年1月22日
------------------------------------------------------------------------------------------------------------------------------------------------
At 2019-01-21 19:54:22, "Boris Kolpackov" <boris at codesynthesis.com> wrote:
>sharper <sharperm at 163.com> writes:
>
>> when I compile the libodb-mysql there comes some error,
>> like this:"MYSQL_BIND":redefine and "my_bool *" can not cast to "bool *".
>> i locate the error file is "mysql-types.hxx",
>> I used the odblib version is 2.4.0, and mysql version is 8.0.12.
>
>Can you try the latest pre-release version by following these build
>instructions and letting me know if you have the same issue:
>
>https://codesynthesis.com/products/odb/doc/install-build2.xhtml
>
>If the issue is still there, make sure to paste the exact error
>message with location information, etc.
More information about the odb-users
mailing list