c:\mysql\include\mysql_com.h(116) : error C2146: syntax error : missing ';' before identifier 'fd'
c:\mysql\include\mysql_com.h(116) : error C2501: 'SOCKET' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(116) : error C2501: 'fd' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(180) : error C2065: 'SOCKET' : undeclared identifier
c:\mysql\include\mysql_com.h(180) : error C2146: syntax error : missing ')' before identifier 's'
c:\mysql\include\mysql_com.h(181) : error C2059: syntax error : ')'
Error executing cl.exe.
-----------
错误出上..
c:\mysql\include\mysql_com.h(116) : error C2501: 'SOCKET' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(116) : error C2501: 'fd' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(180) : error C2065: 'SOCKET' : undeclared identifier
c:\mysql\include\mysql_com.h(180) : error C2146: syntax error : missing ')' before identifier 's'
c:\mysql\include\mysql_com.h(181) : error C2059: syntax error : ')'
Error executing cl.exe.
-----------
错误出上..
解决方案 »
- 请问: 在朝阳 哪租房子 比较便宜?
- 怎样填充五角星内的区域为红色?
- UDP接收数据问题,请帮忙,在线等,急
- 请问如何在vc工程设置里加 ws2_32.lib,以使用inet_addr之类函数
- 一个关于视图的问题?
- CDateTimeCtrl问题,请帮我一个忙
- 自己写的BHO并压包成cab之后自己写了个网页测试发现加载不了
- 菜鸟求教:为什么说我的activex没有methods?
- 为什么2000下的filename or dir name 在98会发生大小写的变化呀
- 关于DLL钩子的问题。。。(请教各位大侠)
- 天黑了,我终于看到星星了,高兴!!散分,一会再另开帖散
- 如何加载其它的非关联应用程序?
#include <afxsock.h>
c++的可以编译通过了..但是c的不行...
出现:9: #error : MFC requires C++ compilation (use a .cpp suffix)
Error executing cl.exe.或:
e:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
Error executing cl.exe.
到底是怎么了....?