Skip to content
Snippets Groups Projects
Commit 51019f8c authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'patch_109' into 'master'

bug #109 same behavior in debug for MSVC and others

See merge request !94
parents 314cb87b 273205d3
No related branches found
No related tags found
No related merge requests found
......@@ -1189,6 +1189,13 @@ private:
#define CHECK(c,x) if(c){ THROW(x); }
#define EXIT(x) throw( Exception( "\n" ) << x << "\n" )
#define CHECK_NULLPTR(_ptr) CHECK( !( _ptr ), "Accessing an empty pointer pointer!" )
#if !NDEBUG // for non MSVC compiler, define _DEBUG if in debug mode to have same behavior between MSVC and others in debug
#ifndef _DEBUG
#define _DEBUG 1
#endif
#endif
#if defined( _DEBUG )
#define CHECKD(c,x) if(c){ THROW(x); }
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment