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

Bug#224945: marked as done (g++-3.3: there is a problem with sort() algorithm)



Your message dated 26 Dec 2003 18:30:52 +0100
with message-id <87zndf32r7.fsf@student.uni-tuebingen.de>
and subject line Bug#224945: g++-3.3: there is a problem with sort() algorithm
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; 23 Dec 2003 22:45:32 +0000
>From exa@ttnet.net.tr Tue Dec 23 16:45:31 2003
Return-path: <exa@ttnet.net.tr>
Received: from fep02fe.ttnet.net.tr (fep02.ttnet.net.tr) [212.156.4.132] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AYuSf-0003mH-00; Tue, 23 Dec 2003 15:53:05 -0600
Received: from orion ([195.174.173.82]) by fep02.ttnet.net.tr
          (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP
          id <20031223215101.GIGD13727.fep02.ttnet.net.tr@orion>;
          Tue, 23 Dec 2003 23:51:01 +0200
Received: from exa by orion with local (Exim 3.36 #1 (Debian))
	id 1AYuSb-0001kI-00; Tue, 23 Dec 2003 23:53:01 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Eray Ozkural \(exa\)" <exa@ttnet.net.tr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: g++-3.3: there is a problem with sort() algorithm
X-Mailer: reportbug 2.36
Date: Tue, 23 Dec 2003 23:53:01 +0200
Message-Id: <[🔎] E1AYuSb-0001kI-00@orion>
Sender: Eray Ozkural (exa) <exa@ttnet.net.tr>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: g++-3.3
Version: 1:3.3.2-4
Severity: normal

orion:c++$ cat stl4.cxx 
#include <algorithm>
#include <list>
using namespace std;
int main()
{
   list<int> a;
   sort(a.begin(), a.end());
  
   return 0;
}

This doesn't compile, it looks like valid C++ code.

There is either a bug in the std lib or the compiler
I don't have the time to figure it out.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux orion 2.4.21-xfs #2 Tue Nov 11 22:28:38 EET 2003 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages g++-3.3 depends on:
ii  gcc-3.3                     1:3.3.2-4    The GNU C compiler
ii  gcc-3.3-base                1:3.3.2-4    The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libstdc++5-3.3-dev          1:3.3.2-4    The GNU Standard C++ Library v3 (d

-- no debconf information


---------------------------------------
Received: (at 224945-done) by bugs.debian.org; 26 Dec 2003 20:55:03 +0000
>From falk.hueffner@student.uni-tuebingen.de Fri Dec 26 14:55:02 2003
Return-path: <falk.hueffner@student.uni-tuebingen.de>
Received: from mx5.informatik.uni-tuebingen.de [134.2.12.32] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AZvng-0003Zh-00; Fri, 26 Dec 2003 11:31:00 -0600
Received: from localhost (loopback [127.0.0.1])
	by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id 72063128
	for <224945-done@bugs.debian.org>; Fri, 26 Dec 2003 18:30:55 +0100 (NFT)
Received: from mx5.informatik.uni-tuebingen.de ([127.0.0.1])
 by localhost (mx5 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 14564-04 for <224945-done@bugs.debian.org>;
 Fri, 26 Dec 2003 18:30:53 +0100 (NFT)
Received: from juist (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66])
	by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id 61776117
	for <224945-done@bugs.debian.org>; Fri, 26 Dec 2003 18:30:53 +0100 (NFT)
Received: from falk by juist with local (Exim 3.36 #1 (Debian))
	id 1AZvnY-0001ck-00
	for <224945-done@bugs.debian.org>; Fri, 26 Dec 2003 18:30:52 +0100
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: 224945-done@bugs.debian.org
Subject: Re: Bug#224945: g++-3.3: there is a problem with sort() algorithm
References: <[🔎] E1AYuSb-0001kI-00@orion>
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Date: 26 Dec 2003 18:30:52 +0100
In-Reply-To: <[🔎] E1AYuSb-0001kI-00@orion>
Message-ID: <87zndf32r7.fsf@student.uni-tuebingen.de>
Lines: 11
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-Virus-Scanned: by amavisd-new (McAfee AntiVirus) at informatik.uni-tuebingen.de
Delivered-To: 224945-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=FOOASDF,HAS_BUG_NUMBER 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

"Eray Ozkural (exa)" <exa@ttnet.net.tr> writes:

>    list<int> a;
>    sort(a.begin(), a.end());
> 
> This doesn't compile, it looks like valid C++ code.

But it isn't, since a.begin() is not a random access iterator.

-- 
	Falk



Reply to: