[Mplayer-dev-eng] mplayer-cvs doesn't compile with gcc-3.0 (debian sid) + paSat Jun 9 02:29:04 2001
pl
p_l at tfz.net
Sat Jun 9 11:19:24 CEST 2001
On Sat, Jun 09, 2001 at 02:30:06AM +0200, Arpi wrote:
[...]
> Is this change required for gcc 3.0, or it was cosmetic change?
Well... I would say it's needed (even though it may only look cosmetic :)
Without it gcc complains :
gcc-3.0 -c -O4 -march=athlon -mcpu=athlon -pipe -ffast-math -fomit-frame-pointer -O2 -I. -I.. -DHAVE_CONFIG_H -o decode.o decode.c
decode.c:161:1: directives may not be used inside a macro argument
decode.c:161:1: unterminated argument list invoking macro "printf"
decode.c: In function `ac3_init':
decode.c:165: parse error before string constant
make[1]: *** [decode.o] Error 1
make[1]: Leaving directory `/usr/local/src/mplayer-cvs/main2/libac3'
make: *** [libac3/libac3.a] Error 2
> > - printf("!! libac3: using "
> > -#ifdef HAVE_SSE
> > - "SSE"
> > +#if defined(HAVE_SSE)
> > + printf("!! libac3: using SSE optimization\n");
> > +#elif defined(HAVE_3DNOWEX)
> > + printf("!! libac3: using 3dNow-dsp! optimization\n");
> > +#elif defined(HAVE_3DNOW)
> > + printf("!! libac3: using 3dNow! optimization\n");
> > #else
> > -#ifdef HAVE_3DNOWEX
> > - "3dNow-dsp!"
> > -#else
> > -#ifdef HAVE_3DNOW
> > - "3dNow!"
> > -#else
> > - "FPU"
> > -#endif
> > -#endif
> > + printf("!! libac3: using FPU optimization\n");
> > #endif
> > - " optimization\n");
> > }
[...]
--
pl
_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list