现在的位置: 首页 > 综合 > 正文

‘int32_t’ does not name a type

2013年01月18日 ⁄ 综合 ⁄ 共 335字 ⁄ 字号 评论关闭

C:\wxWidgets-2.9.2\include/utils/Errors.h:29:9: error: 'int32_t' does not name a type

There's some definition in C:\wxWidgets-2.9.2\include/utils/Errors.h
#ifdef HAVE_MS_C_RUNTIME
typedef int         status_t;
#else
typedef int32_t     status_t;
#endif

 

So it should be the compatability issue, and I add this line before that definition, and it's ok:
#define HAVE_MS_C_RUNTIME

抱歉!评论已关闭.