Mercurial > emacs
diff src/lisp.h @ 104622:cf947e01a2b6
* 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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 26 Aug 2009 19:57:44 +0000 |
parents | e6841301fe4d |
children | 4cbb223d0b1c |
line wrap: on
line diff
--- a/src/lisp.h Wed Aug 26 17:54:05 2009 +0000 +++ b/src/lisp.h Wed Aug 26 19:57:44 2009 +0000 @@ -28,29 +28,8 @@ #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()