[LLVMdev] All variables with the name CS should be renamed into something else due to some conflict on Solaris

Török Edwin edwintorok at gmail.com
Sun Feb 20 01:33:06 PST 2011


On 2011-02-20 11:15, Yuri wrote:
> In these two files: AliasSetTracker.h and CallSite.h (and maybe more) 
> variables CS cause compiler errors on Solaris due to some macro 
> definitions. They should be renamed into something else.
> Could anybody do it so I don't have to invent the new name and create a 
> patch?

include/llvm/Support/Solaris.h
#undef CS

^Doesn't that work?
Maybe there is something wrong with the build and Solaris.h is not
included everywhere?

--Edwin



More information about the llvm-dev mailing list