[LLVMbugs] Compile error on 64-bit x86 Solaris

Chris Lattner sabre at nondot.org
Wed Oct 24 11:51:35 PDT 2007

On Wed, 24 Oct 2007, Zeljko Vrba wrote:
>>> following files:
>> Ok, which ones are we talking about?
> Here's the chain of includes (dumped by -H option to g++) that leads
> to the inclusion of ucontext.h header (each . is an include depth):

Ugh.  We can't hack every #include of <vector>

> including <sys/ucontext.h>.  The inclusion of <sys/wait.h> in <stdlib.h> is
> guarded by
> #if defined(__EXTENSIONS__) || defined(_XPG4)
> #include <sys/wait.h>
> #endif

Please try to find a way to make sure these aren't defined :).

Are the #defines of DS and CS guarded by anything in wait.h?



More information about the llvm-bugs mailing list