[MPlayer-dev-eng] [PATCH] add -Wdeclaration-after-statement to CFLAGS if supported

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Aug 17 16:38:17 CEST 2006


Hello,
attached patch does $subj, maybe saving some patch senders an extra
cleanup cycle.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 19422)
+++ configure	(working copy)
@@ -7086,6 +7103,10 @@
   echores "no"
 fi
 
+if cc_check -Wdeclaration-after-statement ; then
+  CFLAGS="-Wdeclaration-after-statement $CFLAGS"
+fi
+
 echocheck "ftello()"
 # if we don't have ftello use the osdep/ compatibility module
 cat > $TMPC << EOF


More information about the MPlayer-dev-eng mailing list