[LLVMdev] conflicting declarations in output of C back end

Chris Lattner sabre at nondot.org
Fri Feb 29 09:07:23 PST 2008


On Fri, 29 Feb 2008, HyperQuantum wrote:
> So I guess somewhere in the compilation process the struct "_reent" is
> renamed by LLVM but then conflicts with the original declaration?
> The file "reent.h" got included indirectly by "alloca.h" and this is
> probably not expected. How can I solve this problem?

The best way is to fix the CBE output to not #include alloca.h.  There are 
#ifdefs that control how alloca is referenced.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list