[MPlayer-dev-eng] (yet) another batch of compiler warning fixes

Dominik Mierzejewski dominik at rangers.eu.org
Thu Jul 11 23:52:31 CEST 2002


On Thursday, 11 July 2002, Felix Buenemann wrote:
> On Wednesday 10 July 2002 21:02, Joey Parrish wrote:
> > On Wed, Jul 10, 2002 at 11:14:40AM +0200, Dominik Mierzejewski wrote:
> > > They're still not applied, but nobody said they were bad last time
> > > I sent them.
> >
> > There's only one problem that I see, and that's that this hunk:
> >
> > -typedef unsigned long ulong;
> > +/* typedef unsigned long ulong; */ /* already defined in <sys/types.h>,
> > which is included by <stdlib.h> */
> >
> > causes problems on cygwin.  Under cygwin, ulong is never defined
> > in any standard headers.  I suggest something like this:
> >
> > +#if defined(__CYGWIN__)
> >  typedef unsigned long ulong;
> > +#endif
> >
> > and if there are any other systems that have no ulong def, then
> > they can be added to the #if defined line.
> if it only affect cygwin, it could be added to the cygwin_inttypes.h file.

My pal confirms it also affects DJGPP. I don't know if mplayer compiles
under DOS/DJGPP, but we'll try it :->> At least we could try to get VESA
and SVGAlib working.
 
-- 
MPlayer RPMs: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>



More information about the MPlayer-dev-eng mailing list