Define NDEBUG if you don't want assertions
This commit is contained in:
parent
2006278a52
commit
c9ec055176
|
@ -84,6 +84,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
!File: debugcst.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
!File: inputtype.h
|
||||
#define INP_READ_IN_ONE 1 /* read input file in one */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
!File: debugcst.h
|
||||
/* #define DEBUG 1 /* perform various self-tests */
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: density.h
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "dbsymtab.h"
|
||||
#ifdef DBSYMTAB
|
||||
#include <stb.h>
|
||||
#include <em.h>
|
||||
int IncludeLevel = 0;
|
||||
extern char options[];
|
||||
#endif
|
||||
|
@ -298,7 +299,7 @@ do_include()
|
|||
#ifdef DBSYMTAB
|
||||
IncludeLevel++;
|
||||
if (options['g']) {
|
||||
C_ms_std(FileName, N_BINCL, 0);
|
||||
C_ms_stb_cst(FileName, N_BINCL, 0, (arith) 0);
|
||||
}
|
||||
#endif /* DBSYMTAB */
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ extern int nestlevel;
|
|||
#ifndef NOPP
|
||||
#ifdef DBSYMTAB
|
||||
#include <stb.h>
|
||||
#include <em.h>
|
||||
extern int IncludeLevel;
|
||||
extern char options[];
|
||||
#endif
|
||||
|
@ -73,7 +74,7 @@ AtEoIF()
|
|||
nestlevel = nestlow;
|
||||
#ifdef DBSYMTAB
|
||||
if (options['g'] && IncludeLevel > 0) {
|
||||
C_ms_std(FileName, N_EINCL, 0);
|
||||
C_ms_stb_cst(FileName, N_EINCL, 0, (arith) 0);
|
||||
}
|
||||
IncludeLevel--;
|
||||
#endif
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
|
||||
|
||||
!File: debug.h
|
||||
#define DEBUG 1 /* perform various self-tests */
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: parbufsize.h
|
||||
|
|
|
@ -85,6 +85,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: use_tmp.h
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
!File: debugcst.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
!File: inputtype.h
|
||||
#define INP_READ_IN_ONE 1 /* read input file in one */
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
!File: debugcst.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
!File: inputtype.h
|
||||
/*#define INP_READ_IN_ONE 1 /* read input file in one */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
!File: debugcst.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: density.h
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
!File: debug.h
|
||||
/*#define DEBUG 1 /* perform various self-tests */
|
||||
#define NDEBUG 1 /* disable assertions */
|
||||
|
||||
|
||||
!File: parbufsize.h
|
||||
|
|
Loading…
Reference in a new issue