From ea21ba73273891261ba2e4d0d85729f308c54d72 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 26 Aug 2017 07:41:48 +0000 Subject: Tests and enforces added related to https://github.com/genetics-statistics/GEMMA/issues/78 --- src/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/debug.h') 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)) -- cgit v1.2.3