It is not a problem for pointers to VLA used to compute sizes and
offsets in an isolated function, so we can remove this flag.

We still need to keep in mind not to use actual VLAs on the stack.

Signed-off-by: Nicolas George <geo...@nsup.org>
Signed-off-by: Guo, Yejun <yejun....@intel.com>
---
 configure | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure b/configure
index d7a3f507e8..18e9a30ee0 100755
--- a/configure
+++ b/configure
@@ -6975,7 +6975,6 @@ elif enabled gcc; then
     check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
     check_cflags -Werror=return-type
-    check_cflags -Werror=vla
     check_cflags -Wformat
     check_cflags -fdiagnostics-color=auto
     enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
-- 
2.17.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to