git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
df7f850
5539183
)
Merge branch 'jk/no-common'
author
Junio C Hamano
<redacted>
Mon, 2 Nov 2020 21:17:41 +0000
(13:17 -0800)
committer
Junio C Hamano
<redacted>
Mon, 2 Nov 2020 21:17:41 +0000
(13:17 -0800)
Dev support to catch a tentative definition of a variable in our C
code as an error.
* jk/no-common:
config.mak.dev: build with -fno-common
1
2
config.mak.dev
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
config.mak.dev
index 89b218d11a5313f327492795964793bec8670160,20168e5691eea53318144fbf3784b469c3e8bf84..89fefacd9447ff76d783b78e9d8db3d70ed5167f
---
1
/
config.mak.dev
---
2
/
config.mak.dev
+++ b/
config.mak.dev
@@@
-15,7
-15,10
+15,8
@@@
DEVELOPER_CFLAGS += -Wpointer-arit
DEVELOPER_CFLAGS += -Wstrict-prototypes
DEVELOPER_CFLAGS += -Wunused
DEVELOPER_CFLAGS += -Wvla
+ DEVELOPER_CFLAGS += -fno-common
-DEVELOPER_CFLAGS += -DENABLE_SHA256
-
ifndef COMPILER_FEATURES
COMPILER_FEATURES := $(shell ./detect-compiler $(CC))
endif
git clone https://git.99rst.org/PROJECT