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