diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-18 23:54:51 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-18 23:54:51 +0000 |
commit | 6b1d86d213bf6cf253c99cabaa3ea32bc8f62dfb (patch) | |
tree | bc633a7dab606bc0a861918d0c894112162562b2 | |
parent | 298ea20c97381048e94adaacd985255be959c018 (diff) | |
download | mpv-6b1d86d213bf6cf253c99cabaa3ea32bc8f62dfb.tar.bz2 mpv-6b1d86d213bf6cf253c99cabaa3ea32bc8f62dfb.tar.xz |
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
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |