解决"error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"

平台:VS2005+S5PV210SDK


添加CESeries类,编译CESeries.cpp的时候在如下代码的地方出现了error:

//定义向写线程发送的消息常量
const CM_THREADCOMMWRITE = WM_USER+110;

1>.\CESeries.cpp(15) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int


解决办法:

properties -> configuration properties -> C/C++ -> commandline
在additional options 添加 /wd4430


你可能感兴趣的:(C++,c,properties,user,平台)