[MPlayer-cvslog] r25535 - trunk/configure
Rich Felker
dalias at aerifal.cx
Sun Dec 30 07:37:49 CET 2007
On Sun, Dec 30, 2007 at 04:43:33AM +0200, Uoti Urpala wrote:
> On Sat, 2007-12-29 at 21:36 -0500, Rich Felker wrote:
> > On Sat, Dec 29, 2007 at 06:27:43PM +0200, Uoti Urpala wrote:
> > > For MPlayer we probably want -std=gnu99 instead. -std=c99 means strict
> > > standard mode without compiler extensions like "asm", which also doesn't
> > > work well with some current kernel headers (at least).
> >
> > Would -std=c99 -Dasm=__asm__ work? If so this seems like a very clean
> > solution. BTW there should also be a configure check for the ability
> > to compile gcc-style inline asm so that build does not fail for
> > non-gcc-compatible compilers.
>
> We had a discussion about this on IRC which you've apparently forgotten.
> Using "__asm" works for asm blocks, but some Linux kernel headers fail
> to compile under -std=c99 (probably more obscure ones which haven't been
> really sanitized for userspace, a DVB header was the first one I hit in
> a test compilation of MPlayer).
Sorry I forgot. Do you know the nature of the problems encountered in
Linux headers? I don't care for "-std=c99" but it would be nice if we
could use the "c99" command as default compiler if it exists.
Rich
More information about the MPlayer-cvslog
mailing list