[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#164571: Bug#106253: Related bugs



At Mon, 30 Dec 2002 09:03:15 -0500,
H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> Hi, these bugs appear to be at least related, if not identical. #106253
> appears to be no longer valid, given the description in #164571.

#164571 says:

> One must be allowed to include <assert.h> multiple times with different
> values for NDEBUG, so the file is not protected against multiple
> inclusions.  Unfortunately this means that the declarations for
> __assert_fail() and the like may occur multiple times in a compilation
> unit, causing gcc to issue a batch of warnings.
> 
> I believe this can be fixed by protecting the declarations (but only
> those declarations) against repetition, like so:

This patch looks fine for me. I added it into cvs named as 
glibc23-asserth-decls.dpatch. 2.3.1-9 fixes this bug.
I plan to send this patch into upstream. Thanks.

Regards,
-- gotom



Reply to: