projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c26ada1
)
configure: enable -Wshadow diagnostic
author
Simon Marchi
<simon.marchi@efficios.com>
Wed, 31 Mar 2021 14:42:42 +0000
(10:42 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 13 Apr 2021 20:22:29 +0000
(16:22 -0400)
The codebase should compile cleanly with this flag, enable it by
default.
Change-Id: Ia9581845aec079347616fccd554d7199d012c2f1
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 04f9cef4cf1e66f7cd202d48e2ef6aa58c008491..69914737241131baf8dd15d9d9d45e71d2a344c9 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-45,6
+45,7
@@
AX_APPEND_COMPILE_FLAGS([ dnl
-Wmissing-parameter-type dnl
-Wold-style-definition dnl
-Wstrict-prototypes dnl
+ -Wshadow dnl
],
[WARN_CFLAGS],
[-Werror])
This page took
0.025681 seconds
and
4
git commands to generate.