OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07eb7e2
)
build: error on variable-length arrays
author
Mans Rullgard
<mans@mansr.com>
Wed, 3 Oct 2012 22:00:44 +0000
(23:00 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Fri, 5 Oct 2012 21:33:32 +0000
(22:33 +0100)
With all the VLAs gone, make sure they never come back.
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
cd72f36
..
34680d4
100755
(executable)
--- 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