Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jvet
VVCSoftware_VTM
Commits
273205d3
Commit
273205d3
authored
6 years ago
by
galpinf
Browse files
Options
Downloads
Patches
Plain Diff
bug #109 same behavior in debug for MSVC and others
parent
314cb87b
No related branches found
No related tags found
1 merge request
!94
bug #109 same behavior in debug for MSVC and others
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/CommonLib/TypeDef.h
+7
-0
7 additions, 0 deletions
source/Lib/CommonLib/TypeDef.h
with
7 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
7
−
0
View file @
273205d3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment