List:MySQL++« Previous MessageNext Message »
From:Ian Miller Date:December 30 2006 1:27pm
Subject:Re: error C2065: 'ulong' : undeclared identifier during build
View as plain text  
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



Thread
error C2065: 'ulong' : undeclared identifier during buildIan Miller29 Dec
  • Re: error C2065: 'ulong' : undeclared identifier during buildWarren Young29 Dec
    • using the 'use' query.gary clark29 Dec
    • Re: error C2065: 'ulong' : undeclared identifier during buildIan Miller30 Dec
Re: using the 'use' query.gary clark30 Dec
Re: using the 'use' query.gary clark31 Dec
  • Re: using the 'use' query.gary clark2 Jan
    • Re: using the 'use' query.Matt Dargavel3 Jan
      • Re: using the 'use' query.gary clark3 Jan
      • Re: using the 'use' query.gary clark3 Jan
      • Re: using the 'use' query.gary clark3 Jan
        • Re: using the 'use' query.Warren Young3 Jan
          • Re: using the 'use' query.gary clark3 Jan
            • Re: using the 'use' query.Warren Young5 Jan
              • Re: using the 'use' query.gary clark5 Jan
                • Conversion Errorgary clark6 Jan
                  • Re: Conversion ErrorWarren Young6 Jan