summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-08-26 19:57:44 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-08-26 19:57:44 +0000
commit7b3a82d7e39fd42c1e1c096935758902fa48c2cb (patch)
treedd1d6b6af7d46111f266ea5d7069d60a07fd0250 /src/lisp.h
parent3b64d86b56c392642f204efe4981fd8ec33e7f62 (diff)
downloademacs-7b3a82d7e39fd42c1e1c096935758902fa48c2cb.tar.gz
* lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag. * emacs.c (main): Mention the --enable-profiling configure flag instead of using CFLAGS.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 385e0ad4d1e..820c2585976 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -28,29 +28,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define P_(proto) ()
#endif
-#if 0
-/* Define this temporarily to hunt a bug. If defined, the size of
- strings is redundantly recorded in sdata structures so that it can
- be compared to the sizes recorded in Lisp strings. */
-
-#define GC_CHECK_STRING_BYTES 1
-
-/* Define this to check for short string overrun. */
-
-#define GC_CHECK_STRING_OVERRUN 1
-
-/* Define this to check the string free list. */
-
-#define GC_CHECK_STRING_FREE_LIST 1
-
-/* Define this to check for malloc buffer overrun. */
-
-#define XMALLOC_OVERRUN_CHECK 1
-
-/* Define this to check for errors in cons list. */
-/* #define GC_CHECK_CONS_LIST 1 */
-
-#endif /* 0 */
+/* Use the configure flag --enable-checking[=LIST] to enable various
+ types of run time checks for Lisp objects. */
#ifdef GC_CHECK_CONS_LIST
#define CHECK_CONS_LIST() check_cons_list()