[MPlayer-dev-eng] [PATCH] workaround for altivec const vars in gcc-3.4 (postproc/swscale_altivec_template.c)
Luca Barbato
lu_zero at gentoo.org
Wed May 26 04:21:09 CEST 2004
Michael Niedermayer wrote:
> rejected
As I thought.
>
> this should be done with
> #if __GNUC__ ... && __GNUC_MINOR__ ...
> #define const_vector vector
>
> or even better add a check for this to configure
Asking the gcc developers, the solution is remove those unneeded casts,
it works for every gcc with decent altivec support.
I hope that's ok as is now.
lu
--
Luca Barbato
Developer
Gentoo Linux http://www.gentoo.org/~lu_zero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-gcc-3.4-altivec-const.patch
Type: text/x-patch
Size: 793 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040526/99679598/attachment.bin>
More information about the MPlayer-dev-eng
mailing list