[LLVMbugs] Compile error on 64-bit x86 Solaris

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


On Wed, Oct 24, 2007 at 09:32:32AM -0700, Dale Johannesen wrote:
> 
> Those names are in the user namespace; it is incorrect for <signal.h>
> to be defining them.  Any chance of getting your headers fixed?
> 
To be even more to the point: this problem with names does *not* occur
without __EXTENSIONS__ define that you use in the "master" makefile
(presumably, to get some "wide" functions).  But extensions are, by
definition, platform-dependent and can define many names in the user
namespace, so it does not logically follow that headers are "broken"
because you _explicitly_ asked for extensions (and got more than
you needed)!

If anything, it's a problem of a single __EXTENSIONS__ feature macro
that might pull in just about any name.




More information about the llvm-bugs mailing list