[MPlayer-cvslog] r27240 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 15 20:21:37 CEST 2008


Hello,
On Tue, Jul 15, 2008 at 12:35:28PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Tuesday, 15 July 2008 at 00:35, Michael Niedermayer wrote:
> [...]
> > > On Mon, 2008-07-14 at 22:58 +0200, Michael Niedermayer wrote:
> [...]
> > > > ffmpeg compiles fine and passes the regression tests if i add
> > > > 
> > > > -std=c99 -fasm -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L
> [...]
> > -std=c99 -fasm -fms-extensions -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L -Dlinux
> > 
> > IS enough to compile mplayer here
> [...]
> 
> Out of curiosity, why is -D_BSD_SOURCE necessary for both MPlayer and FFmpeg?

More annoying than what Michael quoted, without it all the constants
like M_PI, M_SQRT_2, M_E are not defined. And there are lots of those in
MPlayer and quite a few in FFmpeg.
strdup is another problem, though it could be solved though
_XOPEN_SOURCE as well - no idea if that would be better...

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list