[Ffmpeg-cvslog] CVS: ffmpeg configure,1.223,1.224
Diego Biurrun CVS
diego
Tue Jan 3 15:18:46 CET 2006
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec truespeech.c, NONE, 1.1 truespeech_data.h, NONE, 1.1 Makefile, 1.216, 1.217 allcodecs.c, 1.120, 1.121 avcodec.h, 1.438, 1.439
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg configure,1.224,1.225
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv14842
Modified Files:
configure
Log Message:
Add -Wdeclaration-after-statement to CFLAGS on GCCs that support it.
patch by Michel Bardiaux < mbardiaux !! at !! mediaxim !! dot !! be >
Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.223
retrieving revision 1.224
diff -u -d -r1.223 -r1.224
--- configure 30 Dec 2005 15:16:53 -0000 1.223
+++ configure 3 Jan 2006 14:18:43 -0000 1.224
@@ -1029,6 +1029,17 @@
builtin_vector=yes
fi
+# Probe for -Wdeclaration-after-statement
+if test "$cc" == "gcc"; then
+ cat > $TMPC << EOF
+ int main( void ) { return 0; }
+EOF
+
+ if $cc -Wdeclaration-after-statement -Werror -o $TMPE $TMPC 2> /dev/null ; then
+ CFLAGS="$CFLAGS -Wdeclaration-after-statement"
+ fi
+fi
+
# dlopen/dlfcn.h probing
cat > $TMPC << EOF
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec truespeech.c, NONE, 1.1 truespeech_data.h, NONE, 1.1 Makefile, 1.216, 1.217 allcodecs.c, 1.120, 1.121 avcodec.h, 1.438, 1.439
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg configure,1.224,1.225
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list