summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 18:45:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 18:45:26 +0000
commitaa819b9b7d9a08120f72bedc64c9f5b8f9cd2c7f (patch)
tree5501311929ae104656f506fae68bc9d01caa8a9b /configure
parent5e038b4f084d253c35f266358c6f2049e438094e (diff)
Mixing declarations and statements is an error, so is any construct
depending on sizeof(void) (like void_ptr++) Originally committed as revision 11798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index a17bc8445e..dda6fab3ef 100755
--- a/configure
+++ b/configure
@@ -1785,6 +1785,8 @@ check_cflags -Wpointer-arith
check_cflags -Wredundant-decls
check_cflags -Wno-pointer-sign
check_cflags -Wcast-qual
+check_cflags -Werror=declaration-after-statement
+check_cflags -Werror=pointer-arith
enabled extra_warnings && check_cflags -Winline
# add some linker flags