[memcached] bradfitz, r333: keep assertions on by default for now

commits at code.sixapart.com commits at code.sixapart.com
Mon Sep 4 04:01:11 UTC 2006


keep assertions on by default for now

U   trunk/server/Makefile.am


Modified: trunk/server/Makefile.am
===================================================================
--- trunk/server/Makefile.am	2006-09-04 03:52:53 UTC (rev 332)
+++ trunk/server/Makefile.am	2006-09-04 04:01:10 UTC (rev 333)
@@ -10,7 +10,10 @@
 # FIXME: how to run Perl tests from automake?
 #TESTS = test/getset.t
 
-AM_CFLAGS=-DNDEBUG
+# Uncomment the following to save some CPU (by disabling assertions), at the risk of silent data
+# structure corruption.  After all, this is a new branch of memcached, so you probably want
+# assertions enabled.
+#AM_CFLAGS=-DNDEBUG
 
 dist-hook:
 	rm -rf $(distdir)/doc/.svn/




More information about the memcached-commits mailing list