This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: altivec: fix macros
>>>>> "Aldy" == Aldy Hernandez <aldyh@redhat.com> writes:
>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
>> I know Altivec is already grossly in the user's namespace, but is it
>> really necessary to #define bool? Could you at least get away with
> Ahh if I could only meet the person who came up with altivec
> specs... Bool, unfortunately, is required by the altivec specs.
bool is also required by the C++ standard, and the new ABI makes it the
same size as a char. Clobbering the compiler's idea of the bool type
breaks ABI compatibility. Please don't.
Jason