[MPlayer-dev-eng] [PATCH] fixes for gcc4

Bernhard Rosenkraenzer bero at arklinux.org
Fri Feb 25 22:36:29 CET 2005


On Thursday 24 February 2005 19:15, Gianluigi Tiesi wrote:
> I'm also in doubt with:
> extern struct STRTAB chanlist_names[];
> that I've changed in:
> extern struct CHANLISTS   chanlist_names[];

You can use

extern struct STRTAB *chanlist_names;

For all that matters, it's equivalent to extern struct STRTAB 
chanlist_names[];, and gcc 4.0 accepts that variant.

> I've no clue to compile libmpcodecs/native/RTjpegN.c with gcc4, it
> complains for a wrong operand in mmx (?) instructions.

That looks like broken constraints given in mmx.h -- try the attached patch, 
works for me.

LLaP
bero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmx-gcc4.patch
Type: text/x-diff
Size: 372 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050225/5e4476a5/attachment.patch>


More information about the MPlayer-dev-eng mailing list