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

Bug#156946: marked as done (<cassert> not putting assert in namespace std?)



Your message dated Tue, 20 Aug 2002 08:36:22 +0200
with message-id <15713.58214.500463.877782@gargle.gargle.HOWL>
and subject line Bug#156946: cassert> not putting assert in namespace std?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Aug 2002 17:13:03 +0000
>From MKC@stowers-institute.org Fri Aug 16 12:13:03 2002
Return-path: <MKC@stowers-institute.org>
Received: from mail.stowers-institute.org (viruskc01.stowers-institute.org) [204.56.6.8] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 17fkek-0002XR-00; Fri, 16 Aug 2002 12:13:03 -0500
Received: from 172.16.2.4 by viruskc01.stowers-institute.org (InterScan E-Mail VirusWall NT); Fri, 16 Aug 2002 12:10:35 -0500
Received: from exchkc02.stowers-institute.org ([10.0.51.13]) by exchkc01.stowers-institute.org with Microsoft SMTPSVC(5.0.2195.4905);
	 Fri, 16 Aug 2002 12:12:31 -0500
Received: from gskc01.stowers-institute.org ([10.0.51.105]) by exchkc02.stowers-institute.org with Microsoft SMTPSVC(5.0.2195.4905);
	 Fri, 16 Aug 2002 12:12:31 -0500
Received: by gskc01.stowers-institute.org (8.9.3/1.1.29.3/18Jul02-0516PM)
	id MAA0000291187; Fri, 16 Aug 2002 12:12:31 -0500 (CDT)
Date: Fri, 16 Aug 2002 12:12:31 -0500 (CDT)
Message-Id: <[🔎] 200208161712.MAA0000291187@gskc01.stowers-institute.org>
From: mkc@stowers-institute.org
To: submit@bugs.debian.org
Subject: <cassert> not putting assert in namespace std?
X-OriginalArrivalTime: 16 Aug 2002 17:12:31.0576 (UTC) FILETIME=[1B2E0D80:01C24548]
Delivered-To: submit@bugs.debian.org

Package: libstdc++5-dev
Version: 3.2-0pre4

If I do

   #include <cassert>

'assert' is not being put into the namespace std, although the comment
in cassert implies it will be, and it should be, as far as I know.

(I think this is happening with errno, too.)

--Mike

ii  libc6.1-dev    2.2.5-11.1     GNU C Library: Development Libraries and Hea

---------------------------------------
Received: (at 156946-done) by bugs.debian.org; 20 Aug 2002 06:41:42 +0000
>From doko@cs.tu-berlin.de Tue Aug 20 01:41:42 2002
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17h2hy-0005je-00; Tue, 20 Aug 2002 01:41:42 -0500
Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id IAA17336;
	Tue, 20 Aug 2002 08:36:22 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g7K6aML28906;
	Tue, 20 Aug 2002 08:36:22 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15713.58214.500463.877782@gargle.gargle.HOWL>
Date: Tue, 20 Aug 2002 08:36:22 +0200
To: martin@v.loewis.de (Martin v. Loewis), 156946-done@bugs.debian.org
Subject: Re: Bug#156946: cassert> not putting assert in namespace std?
In-Reply-To: <[🔎] m3hehuzli8.fsf@mira.informatik.hu-berlin.de>
References: <[🔎] 200208161712.MAA0000291187@gskc01.stowers-institute.org>
	<[🔎] m3hehuzli8.fsf@mira.informatik.hu-berlin.de>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 156946-done@bugs.debian.org

Martin v. Loewis writes:
> mkc@stowers-institute.org writes:
> 
> > If I do
> > 
> >    #include <cassert>
> > 
> > 'assert' is not being put into the namespace std, although the comment
> > in cassert implies it will be, and it should be, as far as I know.
> > 
> > (I think this is happening with errno, too.)
> 
> You are mistaken. assert is a macro, and must be a macro, so it must
> not be in a namespace, likewise for errno (see 17.4.1.2/5 of ISO
> 14882:1998 for details).

closing the report



Reply to: