MySQL Forums
Forum List  »  Connector/C++

MySQL/C++ wrappers not working
Posted by: Ian Vermeulen
Date: October 12, 2008 01:39PM

Hello,

When I try to build the example included with connector c++ I get the following messages.
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(63) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(63) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(63) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(63) : warning C4183: 'getMySQLHandle': missing return type; assumed to be a member function returning 'int'
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(125) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(125) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\tavrin\mijn documenten\visual studio 2008\include\cppconn\mysql_connection.h(125) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Build log was saved at "file://c:\Documents and Settings\Tavrin\Mijn documenten\Visual Studio 2008\Projects\MySQLconn\MySQLconn\Debug\BuildLog.htm"

OS: Windows XP
Compiler: Visual C++ 2008 Express Edition

I have the same problem with all the other mysql wrappers. Any help?

Thanks



Edited 1 time(s). Last edit at 10/12/2008 01:42PM by Ian Vermeulen.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL/C++ wrappers not working
5613
October 12, 2008 01:39PM
3151
October 12, 2008 07:56PM
2953
October 13, 2008 04:17AM
2894
December 05, 2008 11:52AM
3259
October 14, 2008 12:37AM


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.