[MPlayer-dev-eng] Re: [MPlayer-users] CVS compile error on PPC

Romain Dolbeau dolbeaur at club-internet.fr
Fri Jan 24 18:46:06 CET 2003


> > vector unsigned short foo = (0, 1, 2, 3, 4, 5, 6, 7);
> 
> Whichever compiler wants this is totally brain damaged. The above code
> is indistinguishable from vector unsigned short foo = 7;

Well, admitely even if IMHO it looks nicer it's definitely against the
standard. That's the Motorola way. FSF GCC wants {0, ... 7} instead.
So the FSF GCC is right, and Motorola GCC and me are wrong :-)

Unfortunately, older apple's gcc (for OSX 10.1) wants the first,
brain-damaged one. So we need both in the code anyway (newer gcc, at
least the one in the December Apple tools for OSX 10.2, can take both).

I stand by my patches, except some comments should be changed ;-)

-- 
Romain DOLBEAU               | Ce que l'on conçoit bien s'énonce
ENS Cachan / Ker Lann        | clairement, et les mots pour le dire
Thesard IRISA / CAPS         | arrivent aisément.
dolbeaur at club-internet.fr    |       -- Nicolas Boileau



More information about the MPlayer-dev-eng mailing list