visnyin / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Fixes int types redefinition error in LLVM-2.9 and Boost 1.46.1 #77

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It will be fixed as following steps:

1. Add an macro "LLVM_USE_BOOST_INT_TYPES" and "BOOST_INCLUDE" in LLVM's cmake.

2. Modify the DataTypes.h.in. If LLVM_USE_BOOST_INT_TYPES is set as true and 
BOOST_INCLUDE was set, DataTypes.h includes "boost/stdint.hpp" and exports all 
standard type name from boost namespace. Otherwise, It keeps the original logic.

3. Fixes LLVM compiler in MSVC2010.

Original issue reported on code.google.com by wuye9036 on 24 Apr 2011 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 24 Apr 2011 at 8:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 5c5a2d71edc5.

SASL:
  Upgraded LLVM to 2.9
  Fixes typedef confliction between LLVM and boost.

Original comment by wuye9036 on 5 May 2011 at 2:25

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 1732744312ca.

SASL:
  Add LLVM to repo.

Original comment by wuye9036 on 5 May 2011 at 2:25

GoogleCodeExporter commented 8 years ago
This issue was updated by revision ed0bbdc7db30.

SASL:
  Fix a off_t used which is a POSIX standard but not C Standard.

Original comment by wuye9036 on 16 May 2011 at 12:47

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 16 May 2011 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 7 Mar 2012 at 3:04