How does linux (& windows) handle the debug macro?
#define DEBUG
or
#define _DEBUG
Is this a defacto standard for g++?
Also, is there anything that is define automatically when including debugging information?
jmccay
I don't know about a DEBUG "standard", but there is a NDEBUG "standard".
If you define NDEBUG, then the preprocessor evaluates assert() to nothing (assert is simply a macro).
Everything else is home-made stuff and not standard.