[tor-commits] [obfsproxy/master] Add -Wwrite-strings to warning set

nickm at torproject.org nickm at torproject.org
Fri Sep 9 17:08:55 UTC 2011


commit 9f11da4a801cb725e3831ee24a5cb4e6a5e8ad8f
Author: Zack Weinberg <zackw at panix.com>
Date:   Wed Jul 13 17:17:04 2011 -0700

    Add -Wwrite-strings to warning set
---
 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1c2d89b..521ba24 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
 
 ACLOCAL_AMFLAGS = -I m4
-AM_CFLAGS = -DDEBUG -Wall -Werror @libevent_CFLAGS@ @libcrypto_CFLAGS@
+WARNINGS = -Wall -Wwrite-strings -Werror
+AM_CFLAGS = $(WARNINGS) @libevent_CFLAGS@ @libcrypto_CFLAGS@
 LDADD = libobfsproxy.a @libevent_LIBS@ @libcrypto_LIBS@ @ws32_LIBS@
 
 bin_PROGRAMS = obfsproxy





More information about the tor-commits mailing list