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

Bug#409512: marked as done (Causes FTBFS with GCC 4.2: problematic comparison in qbutton.h)



Your message dated Mon, 02 Jul 2007 14:32:05 +0000
with message-id <E1I5Mwf-0005NU-CF@ries.debian.org>
and subject line Bug#409512: fixed in boson 0.13-2
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)

--- Begin Message ---
Package: libqt3-headers
Version: 3.3.7-3

A QT3 header causes another package to fail to build with with GCC 4.2.
Version 4.2 has not been released yet but I'm building with a snapshot
in order to find errors and give people an advance warning.  The
problem is with the qbutton.h header.

The original problem was found compiling the boson package but Ben
Hutchings provided the following small testcase to show the problem:

class my_int
{
public:
    my_int(int) {}
};
bool operator!=(unsigned int, const my_int &) { return false; }
#include <qbutton.h>

Suggested fix:

17:32 <Womble2> I'm going to say the error is in qbutton.h
17:32 <Womble2> It should use "return ToggleType(toggleTyp) != SingleShot;"


Error:

(sid)993:tbm@em64t: ~/src] /usr/lib/gcc-snapshot/bin/g++ -I /usr/include/qt3 -c t.cc
In file included from t.cc:7:
/usr/include/qt3/qbutton.h: In member function 'bool QButton::isToggleButton() const':
/usr/include/qt3/qbutton.h:183: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/qt3/qbutton.h:183: note: candidate 1: operator!=(int, int) <built-in>
t.cc:6: note: candidate 2: bool operator!=(unsigned int, const my_int&)
/usr/include/qt3/qbutton.h:183: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/qt3/qbutton.h:183: note: candidate 1: operator!=(int, int) <built-in>
t.cc:6: note: candidate 2: bool operator!=(unsigned int, const my_int&)
/usr/include/qt3/qbutton.h: In member function 'bool QButton::isOn() const':
/usr/include/qt3/qbutton.h:193: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/qt3/qbutton.h:193: note: candidate 1: operator!=(int, int) <built-in>
t.cc:6: note: candidate 2: bool operator!=(unsigned int, const my_int&)
/usr/include/qt3/qbutton.h:193: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/qt3/qbutton.h:193: note: candidate 1: operator!=(int, int) <built-in>
t.cc:6: note: candidate 2: bool operator!=(unsigned int, const my_int&)
zsh: exit 1     /usr/lib/gcc-snapshot/bin/g++ -I /usr/include/qt3 -c t.cc
(sid)994:tbm@em64t: ~/src]

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Source: boson
Source-Version: 0.13-2

We believe that the bug you reported is fixed in the latest version of
boson, which is due to be installed in the Debian FTP archive:

boson-dbg_0.13-2_i386.deb
  to pool/main/b/boson/boson-dbg_0.13-2_i386.deb
boson_0.13-2.diff.gz
  to pool/main/b/boson/boson_0.13-2.diff.gz
boson_0.13-2.dsc
  to pool/main/b/boson/boson_0.13-2.dsc
boson_0.13-2_i386.deb
  to pool/main/b/boson/boson_0.13-2_i386.deb
boson_0.13.orig.tar.gz
  to pool/main/b/boson/boson_0.13.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 409512@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gonéri Le Bouder <goneri@rulezlan.org> (supplier of updated boson package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 28 Jun 2007 19:11:17 +0200
Source: boson
Binary: boson-dbg boson
Architecture: source i386
Version: 0.13-2
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Gonéri Le Bouder <goneri@rulezlan.org>
Description: 
 boson      - core package for Boson
 boson-dbg  - debugging symbols for boson
Closes: 385189 409512 427271
Changes: 
 boson (0.13-2) unstable; urgency=low
 .
   * remove libvorbis-dev from boson dependency (Closes: #385189)
   * apply patch by Martin Michlmayr to fix a FTBFS with gcc 4.2
     (Closes: #409512)
   * add fix_UTS_RELEASE_location.diff to ignore UTS_RELEASE if undef
     (Closes: #427271)
   * debian/rules:
     - call cmake during the configure step
     - other minor changes
   * add FindBosonPythonLibs.cmake, a workaround for a libpython detection
     error
   * boson-dbg depends on boson = ${binary:Version}
Files: 
 7cd05e8eb9832a237e6b973f21d2343b 961 games optional boson_0.13-2.dsc
 00f673d01e23d348e2a83a16086bf4e5 2278818 games optional boson_0.13.orig.tar.gz
 c0eb35e9cca93484f002a9d543c3cf32 30002 games optional boson_0.13-2.diff.gz
 42433dc901ec7eef41ba5a94f0e3ffc0 7114040 games optional boson_0.13-2_i386.deb
 d17b6431f489cb477d1f80fe799dd0da 35752178 libdevel extra boson-dbg_0.13-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Signed by Ana Guerrero

iD8DBQFGiQH+n3j4POjENGERAk9nAJoDnVHmNXRGVj9+k3WkT6TQDv86EgCdGS/f
Fxxf4QUreIBj0ieRrrX4L/8=
=7W1j
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: