[MPlayer-dev-eng] [PATCH]: postproc ppc gcc-4.0 build-fixes

Michael Niedermayer michaelni at gmx.at
Mon Sep 12 23:06:34 CEST 2005


Hi

On Fri, Aug 12, 2005 at 02:04:01PM +0200, Guido Guenther wrote:
> On Thu, Aug 11, 2005 at 11:50:02AM +0200, Michael Niedermayer wrote:
> > Hi
> > 
> > On Tue, Aug 02, 2005 at 01:59:56AM +0200, Diego Biurrun wrote:
> > > On Mon, Aug 01, 2005 at 05:19:51PM +0200, Guido Guenther wrote:
> > > > I need this minor patch to get mplayer CVS from 2005-07-16 to build with
> > > > gcc 4.0.1 on linux ppc using altivec opt. Tested with gcc 4.0 and 3.4.
> > > 
> > > Seems to work here on my PowerBook, at least it compiles with gcc 3.3.5
> > > as well.  What would be a good way to test?
> > > 
> > > Michael, it's your code, does the patch look OK to you?
> > 
> > no, what was the error message with the old code?, btw, its not my code, i 
> > dont have a ppc, and i didnt write it
> The error was "Initializer element not constant". What's wrong with the
> fix?

what about droping just const? instead of the whole type?

[...]

-- 
Michael




More information about the MPlayer-dev-eng mailing list