'int32_t' does not name a type

llrraa2010發表於2012-09-03

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

相關文章