[MPlayer-cvslog] r25535 - trunk/configure
Uoti Urpala
uoti.urpala at pp1.inet.fi
Sun Dec 30 03:43:33 CET 2007
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).
More information about the MPlayer-cvslog
mailing list