MySQL Forums
Forum List  »  Newbie

Re: MySQL++ with VC6
Posted by: Raphael Kindt
Date: April 21, 2005 07:41AM

Raphael Kindt wrote:
> Hi, World!
>
> Currently I use MySQL 4.1 and have installed MySQL++
> 1.7.31
> I want to use MySQL++ with VC6.0 but the
> compilation failed.
>
> Here is my simple code:
>
> #include "mysql++.h"
> #include <iostream>
> #include <iomanip>
> using namespace std;
>
> int main(int argc, char* argv[])
> {
> return 0;
> }
>
> And compilation give me error:
>
> c:\program
> files\mysql\mysql++-1.7.31\lib\convert.h(72) :
> error C2065: '_strtoi64' : undeclared identifier
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(64) :
> error C2252: 'offset' : pure specifier can only be
> specified for functions
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(65) :
> error C2258: illegal pure syntax, must be '= 0'
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(65) :
> error C2252: 'unsigned_offset' : pure specifier
> can only be specified for functions
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(66) :
> error C2258: illegal pure syntax, must be '= 0'
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(66) :
> error C2252: 'null_offset' : pure specifier can
> only be specified for functions
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(67) :
> error C2258: illegal pure syntax, must be '= 0'
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(67) :
> error C2252: 'unsigned_null_offset' : pure
> specifier can only be specified for functions
> c:\program
> files\mysql\mysql++-1.7.31\lib\type_info.h(74) :
> error C2258: illegal pure syntax, must be '= 0'
> [...]
>
>
> I think this is a problem with the use of VC6.
> With VC7 (.NET) I have no problem!!!
> Must I only use VC7???
>
> Thanks for any advices...

Options: ReplyQuote


Subject
Written By
Posted
April 21, 2005 07:40AM
Re: MySQL++ with VC6
April 21, 2005 07:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.