On Aug 29, 2013, at 2:57 AM, Alexey Samsonov wrote:

> Hi!
> 
> This is causing Android build failures on our bot:
> 
> [  0%] Building CXX object 
> projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.android.dir/sanitizer_posix.cc.o
> In file included from 
> /build/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:43:
> /build/llvm_build64/bin/../lib/clang/3.4/include/unwind.h:71:19: error: 
> typedef redefinition with different types ('uintptr_t' (aka 'unsigned int') 
> vs 'unsigned long *')
> typedef uintptr_t _Unwind_Ptr;
>                   ^
> /build/../../../android-ndk/standalone/sysroot/usr/include/link.h:47:28: 
> note: previous definition is here
> typedef long unsigned int* _Unwind_Ptr;
What's that even doing there? Is there some sort of macro that the Android NDK 
defines when it defines that type? We may need to protect our own definitions 
with it.
> 

Chip


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to