[Boxbackup-dev] Visual Studio 2012 error C2371
Arnaud Grandville
bb at grandville.net
Sat Aug 31 15:21:13 BST 2013
I just open the project file infrastructure\msvc\2010\boxbackup.sln with
VS2012.
The conversion done properly but when I compile the solution I get a single
error :
1>------ Build started: Project: common, Configuration: Debug Win32 ------
1> _3180M
1> BoxException.cpp
1>c:\program files (x86)\microsoft visual studio
11.0\vc\include\stdint.h(8): error C2371: 'int8_t' : redefinition; different
basic types
1> c:\dev\boxbackup\lib\common\boxplatform.h(109) : see declaration
of 'int8_t'
It seems to be due to the declaration in lib\common\BoxPlatform.h
typedef __int8 int8_t;
who should be
typedef signed char int8_t;
Arnaud
More information about the Boxbackup-dev
mailing list