[LLVMbugs] Compile error on 64-bit x86 Solaris

Zeljko Vrba zvrba at ifi.uio.no
Wed Oct 24 10:38:34 PDT 2007


On Wed, Oct 24, 2007 at 10:52:59AM -0700, Chris Lattner wrote:
> 
> Ok, which ones are we talking about?
> 
I haven't tracked it down yet.  Namely, the following program
compiles correctly:

#include <signal.h>

int f(int DS)
{
  return DS+1;
}
  
even with the __EXTENSIONS__ define.  Adding the <ucontext.h> header
breaks it even w/o __EXTENSIONS__ define.  So something else implicitly
pulls in the ucontext.h header.

I'll notify you when I track down the exact include chain that pulls
in the ucontext.h or sys/ucontext.h header(s).




More information about the llvm-bugs mailing list