[LLVMbugs] [Bug 11493] New: missing unwind.h
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 6 07:45:06 PST 2011
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: rafael.espindola at gmail.com
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list