[FFmpeg-cvslog] build: error on variable-length arrays

Mans Rullgard git at videolan.org
Sat Oct 6 13:57:08 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Oct  3 23:00:44 2012 +0100| [c07d56a684372e5001eb6ab927708082f1df9c21] | committer: Mans Rullgard

build: error on variable-length arrays

With all the VLAs gone, make sure they never come back.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c07d56a684372e5001eb6ab927708082f1df9c21
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index cd72f36..34680d4 100755
--- a/configure
+++ b/configure
@@ -3504,6 +3504,7 @@ elif enabled gcc; then
     check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
     check_cflags -Werror=declaration-after-statement
+    check_cflags -Werror=vla
 elif enabled llvm_gcc; then
     check_cflags -mllvm -stack-alignment=16
 elif enabled clang; then



More information about the ffmpeg-cvslog mailing list