C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PB avec API MySQL

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French)
View previous topic :: View next topic  
Author Message
gege
Guest





PostPosted: Sun Jan 23, 2005 1:25 pm    Post subject: PB avec API MySQL Reply with quote



Bonjour,

Je suis en train de me battre avec les includes de l'API de MySql que
j'ai rajouté à mon projet
J'ai le message d'erreur suivant :

e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2146: syntax
error : missing ';' before identifier 'fd'
e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2501: 'SOCKET'
: missing storage-class or type specifiers
e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2501: 'fd' :
missing storage-class or type specifiers
e:cppdevelopment#myincludesmysqlmysql_com.h(304) : error C2065: 'SOCKET'
: undeclared identifier
e:cppdevelopment#myincludesmysqlmysql_com.h(304) : error C2146: syntax
error : missing ')' before identifier 's'
e:cppdevelopment#myincludesmysqlmysql_com.h(305) : error C2059: syntax
error : ')'

Quelqu'un aurait il une piste ?

Merci
GG


Back to top
Arnaud Debaene
Guest





PostPosted: Sun Jan 23, 2005 3:20 pm    Post subject: Re: PB avec API MySQL Reply with quote



gege wrote:
Quote:
Bonjour,

Je suis en train de me battre avec les includes de l'API de MySql
que j'ai rajouté à mon projet
J'ai le message d'erreur suivant :

e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2146:
syntax error : missing ';' before identifier 'fd'
e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2501:
'SOCKET'
missing storage-class or type specifiers
e:cppdevelopment#myincludesmysqlmysql_com.h(154) : error C2501:
'fd' : missing storage-class or type specifiers
e:cppdevelopment#myincludesmysqlmysql_com.h(304) : error C2065:
'SOCKET'
undeclared identifier
e:cppdevelopment#myincludesmysqlmysql_com.h(304) : error C2146:
syntax error : missing ')' before identifier 's'
e:cppdevelopment#myincludesmysqlmysql_com.h(305) : error C2059:
syntax error : ')'

Quelqu'un aurait il une piste ?

A vue de nez, inclure le header qui définit les sockets (winsock2.h sous
Windows) avant d'inclure les headers de MySql.

Arnaud



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.