[MPlayer-dev-eng] [PATCH]Allow compilation with icc
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Nov 12 23:12:42 CET 2008
On Thu, Nov 13, 2008 at 12:50:22AM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch is currectly necessary to compile mplayer with icc (10.1).
> I'll commit next week, Carl Eugen
> Index: configure
> ===================================================================
> --- configure (Revision 27904)
> +++ configure (Arbeitskopie)
> @@ -7767,6 +7767,8 @@
> cc_check -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
> cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
> cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
> +else
> + CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
> fi
What is _ISOC99_SOURCE needed for? I think it should be
-D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L
and it should be added always.
More information about the MPlayer-dev-eng
mailing list