error in placing mysql.h
can anybody please tell me what i did wrong?
these are my errors:
c:\mysql\include\mysql_com.h(115) : error C2146: syntax error : missing ';' before identifier 'fd'
c:\mysql\include\mysql_com.h(115) : error C2501: 'SOCKET' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(115) : error C2501: 'fd' : missing storage-class or type specifiers
this is in the include file of mysql. does this mean that the problem is in mysql and not mine? actually, i have not done anything yet.. i have just placed the #include <mysql.h> on my View class and when i compiled it, the error was already there..
can anybody tell me what to do next?
|