Question:
After switching to 9.4.1 (from 9.4.0) for VC++ 11 (32-bit project), I receive the following compiler errors:
1>...\include\ck_inttypes.h(18): error C2371: 'int32_t' : redefinition; different basic types
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdint.h(10) : see declaration of 'int32_t'
1>...\include\ck_inttypes.h(19): error C2371: 'uint32_t' : redefinition; different basic types
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdint.h(14) : see declaration of 'uint32_t'
I should add that the project uses the v110_xp platform toolset.
Edit the ck_inttypes.h file to change this part:
Change from this:
#elif defined(CK_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(_WINDOWS) || defined(WINCE) || defined(BORLANDC) || defined(BCPLUSPLUS)typedef short int16_t; typedef unsigned short uint16_t; typedef long int32_t; typedef unsigned long uint32_t;
#else
To this:
#elif defined(CK_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(_WINDOWS) || defined(WINCE) || defined(BORLANDC) || defined(BCPLUSPLUS)#if !defined(_STDINT) typedef short int16_t; typedef unsigned short uint16_t; typedef long int32_t; typedef unsigned long uint32_t; #endif
#else
I will make this change in the downloads (just in the include, but not re-compiling)