Your message dated 19 Aug 2003 14:07:47 +0200 with message-id <[EMAIL PROTECTED]> and subject line Bug#206181: gcc: map<bool,bool> does not work 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 maintonly) by bugs.debian.org; 19 Aug 2003 09:52:56 +0000 >From [EMAIL PROTECTED] Tue Aug 19 04:52:37 2003 Return-path: <[EMAIL PROTECTED]> Received: from mailserver1.hrz.tu-darmstadt.de [130.83.126.41] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19p3AH-0005jG-00; Tue, 19 Aug 2003 04:52:33 -0500 Received: from fb04281.mathematik.tu-darmstadt.de (fb04281.mathematik.tu-darmstadt.de [130.83.2.21]) by mailserver1.hrz.tu-darmstadt.de (8.12.9/8.12.8) with ESMTP id h7J9qUDc027198 for <[EMAIL PROTECTED]>; Tue, 19 Aug 2003 11:52:30 +0200 Received: from fb04383.mathematik.tu-darmstadt.de (fb04383.mathematik.tu-darmstadt.de [130.83.2.123]) by fb04281.mathematik.tu-darmstadt.de (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id LAA25634; Tue, 19 Aug 2003 11:52:30 +0200 Received: from fb04383.mathematik.tu-darmstadt.de (localhost [127.0.0.1]) by fb04383.mathematik.tu-darmstadt.de (8.12.3/8.12.3/Debian-6.4) with ESMTP id h7J9qUOw006262; Tue, 19 Aug 2003 11:52:30 +0200 Received: (from [EMAIL PROTECTED]) by fb04383.mathematik.tu-darmstadt.de (8.12.3/8.12.3/Debian-6.4) id h7J9qT4t006260; Tue, 19 Aug 2003 11:52:29 +0200 Message-Id: <[EMAIL PROTECTED]> From: Daniel Junglas <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: gcc: map<bool,bool> does not work X-Mailer: reportbug 1.50 Date: Tue, 19 Aug 2003 11:52:29 +0200 X-MailScanner: Found to be clean Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_20,HAS_PACKAGE version=2.53-bugs.debian.org_2003_8_17 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17 (1.174.2.15-2003-03-30-exp) Package: gcc Version: 2:2.95.4-14 Severity: minor When I attempt to use the STL container map as follows, gcc issues an error: map<bool,bool> m; m.insert(true,true); The error message is /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_tree.h: In method `void _Rb_tree<bool,pair<const bool,bool>,_Select1st<pair<const bool,bool> >,less<bool>,allocator<bool> >::insert_unique<bool>(bool, bool)': /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_map.h:168: instantiated from here /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_tree.h:981: invalid type argument of `unary *' Obviously, the map container cannot be used with 'bool' as key type. I think that this should be mentioned somewhere in the documentation. Daniel -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux fb04383 2.4.20-2-686-smp #7 SMP Sun Aug 10 13:24:04 EST 2003 i686 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages gcc depends on: ii cpp 2:2.95.4-14 The GNU C preprocessor. ii cpp-2.95 1:2.95.4-11woody1 The GNU C preprocessor. ii gcc-2.95 1:2.95.4-11woody1 The GNU C compiler. --------------------------------------- Received: (at 206181-done) by bugs.debian.org; 19 Aug 2003 12:07:52 +0000 >From [EMAIL PROTECTED] Tue Aug 19 07:07:50 2003 Return-path: <[EMAIL PROTECTED]> Received: from mx02.uni-tuebingen.de [134.2.3.12] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19p5HB-0004He-00; Tue, 19 Aug 2003 07:07:49 -0500 Received: from juist (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66]) by mx02.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h7JC7liC020212 for <[EMAIL PROTECTED]>; Tue, 19 Aug 2003 14:07:48 +0200 Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 19p5H9-0004Vg-00 for <[EMAIL PROTECTED]>; Tue, 19 Aug 2003 14:07:47 +0200 X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^ To: [EMAIL PROTECTED] Subject: Re: Bug#206181: gcc: map<bool,bool> does not work References: <[EMAIL PROTECTED]> From: Falk Hueffner <[EMAIL PROTECTED]> Date: 19 Aug 2003 14:07:47 +0200 In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiVirus: checked by AntiVir Milter 1.0.4; AVE 6.21.0.1; VDF 6.21.0.20 Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-12.3 required=4.0 tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_GNUS_UA autolearn=ham version=2.53-bugs.debian.org_2003_8_17 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17 (1.174.2.15-2003-03-30-exp) Daniel Junglas <[EMAIL PROTECTED]> writes: > When I attempt to use the STL container map as follows, gcc issues an error: > map<bool,bool> m; > m.insert(true,true); Insert takes an iterator as first element. "true" is not an iterator. -- Falk