projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
b4860bd
)
Added -Wformat=2 - checks for some safety/security violations on format strings.
author
Monty Taylor
<mordred@inaugust.com>
Sun, 21 Jun 2009 01:20:36 +0000
(18:20 -0700)
committer
Monty Taylor
<mordred@inaugust.com>
Sun, 21 Jun 2009 01:20:36 +0000
(18:20 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 4fd3c2d2efdf324b68a859de0bbf70ed1eeb1c43..44102861f29fa2f61dfb45ecaa7032fa9e5cff13 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-287,7
+287,7
@@
uint16_t x= htons(80);
AS_IF([test "$building_from_bzr" = "yes"],
[W_FAIL="-Werror"])
AS_IF([test "$building_from_bzr" = "yes"],
[W_FAIL="-Werror"])
- BASE_WARNINGS="-pedantic -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations -Wstrict-aliasing ${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}"
+ BASE_WARNINGS="-pedantic -Wall -Wextra ${W_FAIL} -Wundef -Wshadow -Wmissing-declarations -Wstrict-aliasing
-Wformat=2
${F_DIAGNOSTICS_SHOW_OPTION} ${W_CONVERSION}"
CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wswitch-default -Wswitch-enum -Wcast-align"
CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -Weffc++ -Wno-long-long"
CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wswitch-default -Wswitch-enum -Wcast-align"
CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -Weffc++ -Wno-long-long"