[LLVMdev] Compiling LibC++ with LLVM on ARM
Tim Northover
t.p.northover at gmail.com
Fri Jul 24 07:00:39 PDT 2015
Hi Renato,
On 24 July 2015 at 04:35, Renato Golin <renato.golin at linaro.org> wrote:
> Unwind-EHABI.cpp:1000:47: error: expected unqualified-id before string constant
> _LIBUNWIND_EXPORT extern "C" _Unwind_Reason_Code
GCC seems to be stricter than Clang about the ordering of
__attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'. You can play
around with:
__attribute__((visibility("default"))) extern "C" void func() {}
Cheers.
Tim.
More information about the llvm-dev
mailing list