https://bugs.freedesktop.org/show_bug.cgi?id=45420

--- Comment #9 from Benjamin Herrenschmidt <b...@kernel.crashing.org> 
2012-02-09 19:00:37 PST ---
This is broken. This is not valid C :-)

#if (LLVM_NATIVE_ARCH == X86 || LLVM_NATIVE_ARCH == X86Target)

Doesn't work with the C preprocessor. The preprocessor evaluates numbers,
but X86 and X86Target are not valid numbers (they aren't themselves
#defined to something).

So the above statement is equivalent to

#if (0 == 0 || 0 == 0)

Probably breaks the ARM build... (It does break on PPC which I'm playing with
right now but that's more than just that to it :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to