[FFmpeg-devel] [PATCH] configure: add -Werror=declaration-after-statement for gcc
Lukasz Marek
lukasz.m.luki2 at gmail.com
Sat Nov 1 02:18:26 CET 2014
Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 40d1f07..3322779 100755
--- a/configure
+++ b/configure
@@ -5227,6 +5227,7 @@ elif enabled gcc; then
check_cflags -Werror=missing-prototypes
check_cflags -Werror=return-type
check_cflags -Werror=vla
+ check_cflags -Werror=declaration-after-statement
check_cflags -Wformat
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
elif enabled llvm_gcc; then
--
1.9.1
More information about the ffmpeg-devel
mailing list