Your message dated Tue, 8 Nov 2005 10:05:06 -0800
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #337820,
regarding tse3 - FTBFS: error: call of overloaded 'element(const char [9],
size_t)' is ambiguous
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED], [EMAIL PROTECTED]
(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 337820-forwarded) by bugs.debian.org; 8 Nov 2005 18:09:10 +0000
>From [EMAIL PROTECTED] Tue Nov 08 10:09:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp.vzavenue.net [66.171.59.140]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EZXuA-0006Qe-00; Tue, 08 Nov 2005 10:09:10 -0800
Received: from localhost.localdomain (244.173.171.66.subscriber.vzavenue.net
[66.171.173.244])
by smtp.vzavenue.net (MOS 3.7.1-GA)
with ESMTP id DGQ14222;
Tue, 8 Nov 2005 13:05:07 -0500 (EST)
Date: Tue, 8 Nov 2005 10:05:06 -0800
From: Daniel Burrows <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: Bug#337820: tse3 - FTBFS: error: call of
overloaded 'element(const char [9], size_t)' is ambiguous]
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
X-Junkmail-Status: score=0/50, host=smtp.vzavenue.net
Delivered-To: [EMAIL PROTECTED]
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-Level:
X-Spam-Status: No, hits=-10.5 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
HAS_PACKAGE,RCVD_IN_SORBS autolearn=ham
version=2.60-bugs.debian.org_2005_01_02
--/NkBOFFp2J2Af1nK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
I received the attached bug against the Debian tse3 package. I believe t=
he
problem is that the code assumes that size_t and unsigned int are the same
type, which might not hold on all platforms. The two simple solutions I see
immediately are to explicitly cast to unsigned int (possibly losing bits) on
every invocation of element(), or to overload on size_t instead of unsigned=
int.
Daniel
----- Forwarded message from Bastian Blank <[EMAIL PROTECTED]> -----
Subject: Bug#337820: tse3 - FTBFS: error: call of overloaded 'element(const
char [9], size_t)' is ambiguous
Date: Sun, 6 Nov 2005 18:42:04 +0100
=46rom: Bastian Blank <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Package: tse3
Version: 0.3.1-1
Severity: serious
There was an error while trying to autobuild your package:
> Automatic build of tse3_0.3.1-1 on debian-31 by sbuild/s390 69
[...]
> if /bin/sh ../../../libtool --tag=3DCXX --mode=3Dcompile g++ -DHAVE_CONFI=
G_H -I. -I. -I../../.. -I../../../src -fPIC -W -Wall -ansi -pedantic -MT=
Song.lo -MD -MP -MF ".deps/Song.Tpo" -c -o Song.lo Song.cpp; \
> then mv -f ".deps/Song.Tpo" ".deps/Song.Plo"; else rm -f ".deps/Song.Tpo"=
; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -fPIC -W -Wall -an=
si -pedantic -MT Song.lo -MD -MP -MF .deps/Song.Tpo -c Song.cpp -fPIC -DPI=
C -o .libs/Song.o
> .../../../src/tse3/listen/Song.h:37: warning: 'class TSE3::SongListener' =
has virtual functions but non-virtual destructor
> .../../../src/tse3/listen/Track.h:33: warning: 'class TSE3::TrackListener=
' has virtual functions but non-virtual destructor
> Song.cpp: In function 'void TSE3::File::write(TSE3::File::XmlFileWriter&,=
TSE3::Song&)':
> Song.cpp:18: error: call of overloaded 'element(const char [9], size_t)' =
is ambiguous
> .../../../src/tse3/file/XML.h:155: note: candidates are: void TSE3::File:=
:XmlFileWriter::element(const std::string&, int)
> .../../../src/tse3/file/XML.h:156: note: void TSE3::File:=
:XmlFileWriter::element(const std::string&, unsigned int)
> .../../../src/tse3/file/XML.h:157: note: void TSE3::File:=
:XmlFileWriter::element(const std::string&, bool)
> make[5]: *** [Song.lo] Error 1
Bastian
----- End forwarded message -----
--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDcOjSch6xsM7kSXgRAkHGAKDKke8yCiw+AVTVXdsTwPEqBWcctgCg6FdO
5B2pHri63XxAja+3ylA9dV4=
=tigR
-----END PGP SIGNATURE-----
--/NkBOFFp2J2Af1nK--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]