From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Ralph Corderoy Message-ID: <37e3.3d970458.f1b92@blake.inputplus.co.uk> References: <1f535a7124b25e5b45a5c391689c55fa@caldo.demon.co.uk> Subject: Re: [9fans] what's wrong with this? Date: Mon, 30 Sep 2002 09:28:47 +0000 Topicbox-Message-UUID: f7fc7090-eaca-11e9-9e20-41e7f4b1d025 Hi Charles, > i was wondering whether the C assert macro was regarded as > an expression or a statement, but as usual my C book isn't > nearby. Harbison and Steele say it acts as if it was void assert(int expr); and if NDEBUG is #define'd then an implementation may #define assert to be ((void)0) Cheers, Ralph.