On Tue, Jun 10, 2008 at 12:23 AM, Dennis Schridde <[EMAIL PROTECTED]> wrote:
> We are:
> - Defining DEBUG on debug builds and not otherwise.
> - Defining NDEBUG to shutup asserts.
> It also seems inconsistent to sometimes decide depending on DEBUG and
> sometimes depending on NDEBUG, for the same case (as happened here).
> To prevent such confusion in the first place, I would suggest not using NDEBUG
> if you mean !DEBUG (or generally not using NDEBUG unless there is a good
> reason).

Shutting up asserts is not a good reason? Release builds with asserts
is not a good idea, IMHO.

   - Per

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to