Re: [cc65] glitch in "assert.h" ?

Date view Thread view Subject view

From: David Holz (davidh_at_otterspace.com)
Date: 2002-08-13 03:52:12


>"Note that assert must expand to a void expression, so the more
>obvious if-statement does not suffice as a definition of
>assert."

#ifdef NDEBUG
#  define assert(expr) {}
...

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-08-13 03:40:49 CEST