http://llvm.org/bugs/show_bug.cgi?id=11493
Bug #: 11493
Summary: missing unwind.h
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: ASSIGNED
Severity: enhancement
Priority: P
Component: Headers
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
This is an interesting one. GCC includes it in most systems, but on OS X Lion
it is considered part of the SDK:
/Developer/SDKs//MacOSX10.7.sdk/usr/include/unwind.h
We need this header for systems where gcc provides it, but on Lion we probably
want to use the system one.
I can see two ways of doing this. One is to install it to
lib/clang/<ver>/include/cpuid/cpuid.h and only add that directory to the search
path on systems where cpuid.h is provided by gcc. The other one is to install
it in the regular directory (lib/clang/<ver>/include) and use an #ifdef and a
#include_next to use the system one on Lion.
I will give the #ifdef option a try.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs