projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514294e
)
build: error on mixed declarations and code
author
Mans Rullgard
<mans@mansr.com>
Tue, 20 Dec 2011 16:32:06 +0000
(16:32 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Wed, 21 Dec 2011 00:57:46 +0000
(
00:57
+0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
180578d
..
5cb2d1c
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-3118,6
+3118,7
@@
elif enabled gcc; then
check_cflags -fno-tree-vectorize
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes
+ check_cflags -Werror=declaration-after-statement
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then