Original Post
🔒 Locked
DEBUG and _DEBUG
Advertisement
Symbol prefixed with _ are defined to be for internal compiler use. As such, end-user should be unconcerned with their role.
_DEBUG is Microsoft implementation specific and is tied to Microsoft's standard library.
The documentation states when it's defined.
As a general rule, if you're going for portability, handle symbols prefixed with one or more underscores as compiler-specific, and use proper ifdef guards.
_DEBUG is Microsoft implementation specific and is tied to Microsoft's standard library.
The documentation states when it's defined.
As a general rule, if you're going for portability, handle symbols prefixed with one or more underscores as compiler-specific, and use proper ifdef guards.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement