[LLVMdev] Patch: Compiling LLVM in Sparc

Eric Christopher echristo at apple.com
Tue Aug 25 14:29:22 PDT 2009


On Aug 25, 2009, at 2:24 PM, Chris Lattner wrote:

>
> On Aug 25, 2009, at 12:32 AM, Daniel Dunbar wrote:
>
>> Hi,
>>
>> I think I should rename the constants to be a little less likely to
>> collide. I think just upcasing them might be good enough?
>
> Why not just use "#undef sparc" at the top of the file like we do for
> other macro pollution stuff?

I guess if there's not going to be anything that's target dependently  
compiled for any file that includes it then that's probably best.

-eric



More information about the llvm-dev mailing list