Thanks for your input. The svn version did not compile either: same problem. Your point
about modifying the mySQL API header is well taken.
The code in question is only executed if the version of MYSQL is 4.01.01. Since I am using
version 5, I just commented out the entire if statement.
Thanks again.
Ian
Warren Young <mysqlpp@stripped> wrote: Ian Miller wrote:
>
> To convince yourself of this, right-click on CLIENT_MULTI_STATEMENTS
> in connection.cpp and select "Go To Definition". It will take you to
> the place where the constant is declared as (((ulong) 1) << 16)
Actually, this is already addressed in svn. Whenever I can scrape
together the time needed to finalize a release, it'll be in that. (I
don't plan on putting much more in it than what's in svn now. I won't
declare a feature freeze just yet, but it's getting to be too long
between releases these days.)
Meanwhile, try the svn version to see if the problem goes away for you.
> Bottom line: you can work around this problem easily by changing the
> two declarations of constants with "ulong" in mysql_com.h to use
> "DWORDLONG" instead.
Eck. One should never have to change a MySQL C API header file to make
MySQL++ build. We need to work with what we've been given here.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1