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

Bug#228645: marked as done ([PR 13943] call of overloaded `llabs(int)' is ambiguous)



Your message dated Sun, 22 May 2005 00:06:18 +0200
with message-id <87is1cw7xh.fsf@debian.org>
and subject line Bug#228645: call of overloaded `llabs(int)' is ambiguous
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; 19 Jan 2004 23:56:39 +0000
>From glenn@zewt.org Mon Jan 19 15:56:39 2004
Return-path: <glenn@zewt.org>
Received: from h00045a576c6a.ne.client2.attbi.com (h0040333b7dc3.ne.mediaone.net) [65.96.98.23] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AijG2-0007kP-00; Mon, 19 Jan 2004 15:56:39 -0800
Received: by h0040333b7dc3.ne.mediaone.net (Postfix, from userid 1000)
	id 36026100AA828; Mon, 19 Jan 2004 18:56:37 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Glenn Maynard <glenn@zewt.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libstdc++5-3.3-dev: call of overloaded `llabs(int)' is ambiguous
X-Mailer: reportbug 2.37
Date: Mon, 19 Jan 2004 18:56:36 -0500
Message-Id: <20040119235637.36026100AA828@h0040333b7dc3.ne.mediaone.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_14 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_01_14
X-Spam-Level: 

Package: libstdc++5-3.3-dev
Version: 1:3.3.3-0pre2
Severity: normal

---
#include <math.h>
#include <cstdlib>

using namespace std;

int foo() { return llabs(1); }
---

g++-3.3 blah.cc -c
blah.cc: In function `int foo()':
blah.cc:6: error: call of overloaded `llabs(int)' is ambiguous
/usr/include/stdlib.h:754: error: candidates are: long long int llabs(long long
   int)
/usr/include/c++/3.3/cstdlib:152: error:                 long long int
   __gnu_cxx::llabs(long long int)

This works in g++ 3.2, but not 3.3.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zewt.org 2.6.0 #1 Thu Jan 8 17:05:45 EST 2004 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages libstdc++5-3.3-dev depends on:
ii  g++-3.3                    1:3.3.3-0pre2 The GNU C++ compiler
ii  gcc-3.3-base               1:3.3.3-0pre2 The GNU Compiler Collection (base 
ii  libc6-dev                  2.3.2.ds1-10  GNU C Library: Development Librari
ii  libstdc++5                 1:3.3.3-0pre2 The GNU Standard C++ Library v3

-- no debconf information


---------------------------------------
Received: (at 228645-done) by bugs.debian.org; 21 May 2005 22:06:50 +0000
>From falk@debian.org Sat May 21 15:06:50 2005
Return-path: <falk@debian.org>
Received: from smtp08.web.de [217.72.192.226] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZc7O-0006Oz-00; Sat, 21 May 2005 15:06:50 -0700
Received: from [82.82.220.210] (helo=juist)
	by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #291)
	id 1DZc6t-0006EL-00
	for 228645-done@bugs.debian.org; Sun, 22 May 2005 00:06:19 +0200
Received: from falk by juist with local (Exim 4.50)
	id 1DZc6s-0003A5-Hr
	for 228645-done@bugs.debian.org; Sun, 22 May 2005 00:06:18 +0200
To: 228645-done@bugs.debian.org
Subject: Bug#228645: call of overloaded `llabs(int)' is ambiguous
From: Falk Hueffner <falk@debian.org>
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^
Date: Sun, 22 May 2005 00:06:18 +0200
Message-ID: <87is1cw7xh.fsf@debian.org>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: falk@debian.org
X-Sender: falk.hueffner@web.de
Delivered-To: 228645-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi,

according to http://gcc.gnu.org/PR13924, this is invalid.

-- 
	Falk



Reply to: