Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2007 20:11:03 +0100
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include assert.h
Message-ID:  <20071201191102.GB941@lizard.fafoe.narf.at>
In-Reply-To: <200712011856.lB1Iuoiw042995@repoman.freebsd.org>
References:  <200712011856.lB1Iuoiw042995@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071201191102.GB941>