pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:513:
} PCHARP; #define WERR(...) fprintf(stderr,__VA_ARGS__) #ifdef PIKE_DEBUG #define DO_IF_DEBUG(X) X #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) DEBUG #define DWERR(...) WERR(__VA_ARGS__)
+
#undef NDEBUG
+
/* Set of macros to simplify passing __FILE__ and __LINE__ to * functions only in debug mode. */ #define DLOC __FILE__, __LINE__ #define COMMA_DLOC , __FILE__, __LINE__ #define DLOC_DECL const char *dloc_file, int dloc_line #define COMMA_DLOC_DECL , const char *dloc_file, int dloc_line #define DLOC_ARGS dloc_file, dloc_line #define DLOC_ARGS_OPT dloc_file, dloc_line #define COMMA_DLOC_ARGS_OPT , dloc_file, dloc_line #define USE_DLOC_ARGS() ((void)(DLOC_ARGS_OPT)) #define DLOC_ENABLED #else /* !PIKE_DEBUG */ #define DO_IF_DEBUG(X) #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) NO_DEBUG #define DWERR(...)
-
+
#define NDEBUG
#define DLOC #define COMMA_DLOC #define DLOC_DECL #define COMMA_DLOC_DECL #define DLOC_ARGS __FILE__, __LINE__ #define DLOC_ARGS_OPT #define COMMA_DLOC_ARGS_OPT #define USE_DLOC_ARGS()