diff options
author | Pjotr Prins | 2017-08-26 07:41:48 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-08-26 09:38:00 +0000 |
commit | ea21ba73273891261ba2e4d0d85729f308c54d72 (patch) | |
tree | a789922ea2fc313f17fae9c2c493fda043d61755 /src/debug.h | |
parent | 43dc1c9519aac4924d1174f265fdcac7b7791f8e (diff) | |
download | pangemma-ea21ba73273891261ba2e4d0d85729f308c54d72.tar.gz |
Tests and enforces added related to https://github.com/genetics-statistics/GEMMA/issues/78
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h index f47cb4c..e910a25 100644 --- a/src/debug.h +++ b/src/debug.h @@ -36,8 +36,8 @@ inline void fail_at_msg(bool strict, const char *__file, int __line, const char #else // DEBUG -#define warning_msg(msg) cerr << "**** WARNING: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __PRETTY_FUNCTION__ << endl; -#define debug_msg(msg) cerr << "**** DEBUG: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __PRETTY_FUNCTION__ << endl; +#define warning_msg(msg) cerr << "**** WARNING: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __FUNCTION__ << endl; +#define debug_msg(msg) cerr << "**** DEBUG: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __FUNCTION__ << endl; #define assert_issue(is_issue, expr) \ ((is_issue) ? enforce_msg(expr,"FAIL: ISSUE assert") : __ASSERT_VOID_CAST(0)) |