lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I had a compilation error when compiling on the new OS X lion - it boiled down to /usr/include/unwind.h being different than the standard GCC version.

In particular, _Unwind_Exception_Class and _Unwind_Ptr, are not declared, but where they are referenced previously, uint64_t and uintptr_t are used instead. I've not done any form of extensive testing, but the attached patch seems to suffice to make it compile.

Attachment: llvm-gcc-4.2.patch
Description: Binary data


I am not sure, but the preprocessor check for __llvm__ may need to be stricter, in the sense that maybe llvm-gcc on linux probably uses the standard GCC unwind.h.

Cheers,
Tai Chi Minh Ralph Eastwood