[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz
Diego Biurrun
diego at biurrun.de
Mon Nov 24 11:13:05 CET 2008
On Wed, Nov 19, 2008 at 04:26:29PM +0100, Gregor Riepl wrote:
>
> > I tested to pass -x objective-c to cc_check and it doesn't work.
> > That's probably because -x option is sensitive to its place on the
> > command line.
> > As you probably saw, the temporary is to modify the CFLAGS temporarily
> > before running the cc_check, then restoring the CFLAGS to their
> > original.
>
> yes, this is exactly the case. the -x argument applies to all source
> files that follow, so it's vital to be placed in front of the
> conftest.c. i tried experimenting with a new objc_check(), but since
> gcc is used for both c and obj-c, it seemed overkill to me. would it
> be possible to modify compile_check() so that it moves its compiler
> arguments in front of the source file? or does that break everything?
I don't think so and in fact I think it already does:
$_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra $_libs_mplayer $_libs_mencoder -o "$TMPEXE" "$@" >> "$TMPLOG" 2>&1
Am I missing something here?
Diego
More information about the MPlayer-dev-eng
mailing list