From 6b1d86d213bf6cf253c99cabaa3ea32bc8f62dfb Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 18 Mar 2007 23:54:51 +0000 Subject: The -Wdeclaration-after-statement test needs a C program. Noticed by Carl Eugen Hoyos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22737 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 535973e7ee..517fc98a9a 100755 --- a/configure +++ b/configure @@ -7416,6 +7416,9 @@ fi CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS" +cat > $TMPC << EOF +int main() { return 0; } +EOF if cc_check -Wdeclaration-after-statement ; then CFLAGS="-Wdeclaration-after-statement $CFLAGS" fi -- cgit v1.2.3