aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-02 10:05:03 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:54 -0400
commite80a032b61e3c793ad0d1627074b8750f7cfec48 (patch)
tree7e58b5facf2446fdd81e15562dfcebe130d89bbc /configure.ac
parent53a3b39da1241ba43f63f1515f6ef5167b182cae (diff)
downloadtor-e80a032b61e3c793ad0d1627074b8750f7cfec48.tar.gz
tor-e80a032b61e3c793ad0d1627074b8750f7cfec48.zip
Add clang's -Wstring-conversion, and fix the one place it hits
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 85ba939a87..79457372f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1851,6 +1851,7 @@ if test "x$enable_gcc_warnings_advisory" != "xno"; then
-Wstatic-local-in-inline
-Wstrict-overflow=2
-Wstring-compare
+ -Wstring-conversion
-Wstrlcpy-strlcat-size
-Wstrncat-size
-Wsuggest-attribute=format