[MPlayer-cvslog] CVS: main configure,1.960,1.961

Reimar =?UTF8?Q?D=F6ffinger?= Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Feb 15 09:56:48 CET 2005


Hi,
On Tue, Feb 15, 2005 at 09:47:49AM +0100, Torinthiel wrote:
> On Sat, Feb 05, 2005 at 12:53:32PM +0100, Reimar Döffinger CVS wrote:
> > Index: configure
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/configure,v
> > retrieving revision 1.960
> > retrieving revision 1.961
> > diff -u -r1.960 -r1.961
> > --- configure	3 Feb 2005 17:35:49 -0000	1.960
> > +++ configure	5 Feb 2005 11:53:30 -0000	1.961
> > @@ -6992,6 +6992,10 @@
> >  $_def_mman
> >  $_def_mman_has_map_failed
> >  
> > +#ifndef MAP_ANONYMOUS
> > +#define MAP_ANONYMOUS MAP_ANON
> > +#endif
> > +
> 
> 
> make[1]: Entering directory `/home/torinthiel/mplayer/main/postproc'
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -g -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I/usr/X11R6/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.. -o swscale.o swscale.c
> In file included from /usr/include/sys/mman.h:42,
>                  from swscale.c:66:
> /usr/include/bits/mman.h:49: warning: `MAP_ANONYMOUS' redefined
> ../config.h:180: warning: this is the location of the previous definition
> 
> Is this the desired behaviour?
> Could be fixed by moving mman include (lines 65-67) before config.h
> include (line 57) but I don't know what other implications it will have.

This shouldn't be possible as the mmap.h include should be ifdef'ed. I have to admit that that commit obviously was quite nonsense, I guess it should
be moved to where MAP_ANONYMOUS is actually used, but I'm not really sure...

Greetings,
Reimar Döffinger




More information about the MPlayer-cvslog mailing list