cvs commit: src/include assert.h

Stefan Farfeleder stefanf at FreeBSD.org
Sat Dec 1 11:27:04 PST 2007


On Sat, Dec 01, 2007 at 06:56:50PM +0000, Poul-Henning Kamp wrote:
> phk         2007-12-01 18:56:50 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     include              assert.h 
>   Log:
>   Add missing #ifndef _ASSERT_H_ protection against multiple inclusions

That is wrong.  The C Standard explicitly states that <assert.h>
redefines the assert() macro depending on NDEBUG each time it is
included.


More information about the cvs-src mailing list