LLVM's typedefs for int32_t etc. under MSVC (in Support/DataTypes.h) conflict with those used by other third-party libraries. Instead of these:<div><br></div><div>#ifdef _MSC_VER</div><div><div>typedef __int64 int64_t;</div>
<div>typedef unsigned __int64 uint64_t;</div></div><div><div>typedef signed int int32_t;</div><div>typedef unsigned int uint32_t;</div><div>typedef short int16_t;</div><div>typedef unsigned short uint16_t;</div><div>typedef signed char int8_t;</div>
<div>typedef unsigned char uint8_t;</div><div>typedef signed int ssize_t;</div><div>#endif</div><div><br></div><div>it would be preferable to use these:</div><div><br></div><div><div>typedef __int8 int8_t;</div><div>typedef __int16 int16_t;</div>
<div>typedef __int32 int32_t;</div><div>typedef __int64 int64_t;</div><div>typedef unsigned __int8 uint8_t;</div><div>typedef unsigned __int16 uint16_t;</div><div>typedef unsigned __int32 uint32_t;</div><div>typedef unsigned __int64 uint64_t;</div>
<div><br></div><div>Does anyone feel strongly about this?</div><div><br></div><div>- Mark Leone</div><div><br></div><div><br></div></div></div>