[MPlayer-cvslog] r32230 - trunk/configure

Diego Biurrun diego at biurrun.de
Wed Sep 15 16:09:15 CEST 2010


On Tue, Sep 14, 2010 at 08:28:53PM +0200, Reimar Döffinger wrote:
> On Tue, Sep 14, 2010 at 11:47:08AM +0200, diego wrote:
> > 
> > Log:
> > Fix parameter types in swab() check; fixes the warnings:
> > tmp.c:3: warning: null argument where non-null required (argument 1)
> > tmp.c:3: warning: null argument where non-null required (argument 2)
> > 
> > --- trunk/configure	Tue Sep 14 11:45:40 2010	(r32229)
> > +++ trunk/configure	Tue Sep 14 11:47:08 2010	(r32230)
> > @@ -3932,7 +3932,7 @@ echocheck "swab()"
> >  cat > $TMPC << EOF
> >  #define _XOPEN_SOURCE 600
> >  #include <unistd.h>
> > -int main(void) { swab(0, 0, 0); return 0; }
> > +int main(void) { swab(NULL, NULL, 0); return 0; }
> 
> If that "fixes" those warnings, that's a compiler bug.

Somehow I fumbled looking at config.log or whatever, the warnings are
still there:

tmp.c:3: warning: null argument where non-null required (argument 1)
tmp.c:3: warning: null argument where non-null required (argument 2)

In any case, it's no worse than before, so I'm leaving it...

Diego


More information about the MPlayer-cvslog mailing list