AltiVec too pedantic about type qualifiers
Andrew Pinski
pinskia@physics.uc.edu
Mon Feb 25 13:10:00 GMT 2002
On PPC, all char's are unsigned by default.
Thanks,
Andrew Pinski
On Monday, February 25, 2002, at 03:40 , Daniel Egger wrote:
> Am Mon, 2002-02-25 um 03.10 schrieb Aldy Hernandez:
>
>> but if you fix the const, you'll get an incompatible assignment.
>> this is because you're probably building on darwin which has
>> char defaulting to unsigned char, so vec_ld will return a
>> "vector unsigned char".
>
> Negative. This is linux-ppc.
>
>> this is an inconsistency in darwin having chars being unsigned.
>
> This is no problem here. :)
>
>> i think there's probably a flag to have gcc's chars default to
>> signed (anyone??)
>
> -fsigned-char
>
> --
> Servus,
> Daniel
>
>
>
More information about the Gcc
mailing list