[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 Tue, 19 Jun 2007 09:32:09 +0000
with message-id <E1I0a4H-0000zs-Uw@ries.debian.org>
and subject line Bug#409512: fixed in qt-x11-free 3:3.3.7-5
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: qt-x11-free
Source-Version: 3:3.3.7-5

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

libqt3-compat-headers_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-compat-headers_3.3.7-5_i386.deb
libqt3-headers_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-headers_3.3.7-5_i386.deb
libqt3-i18n_3.3.7-5_all.deb
  to pool/main/q/qt-x11-free/libqt3-i18n_3.3.7-5_all.deb
libqt3-mt-dev_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-dev_3.3.7-5_i386.deb
libqt3-mt-ibase_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-ibase_3.3.7-5_i386.deb
libqt3-mt-mysql_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-mysql_3.3.7-5_i386.deb
libqt3-mt-odbc_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-odbc_3.3.7-5_i386.deb
libqt3-mt-psql_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-psql_3.3.7-5_i386.deb
libqt3-mt-sqlite_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-sqlite_3.3.7-5_i386.deb
libqt3-mt_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt_3.3.7-5_i386.deb
qt-x11-free-dbg_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt-x11-free-dbg_3.3.7-5_i386.deb
qt-x11-free_3.3.7-5.diff.gz
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.7-5.diff.gz
qt-x11-free_3.3.7-5.dsc
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.7-5.dsc
qt3-apps-dev_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-apps-dev_3.3.7-5_i386.deb
qt3-assistant_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-assistant_3.3.7-5_i386.deb
qt3-designer_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-designer_3.3.7-5_i386.deb
qt3-dev-tools-compat_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-compat_3.3.7-5_i386.deb
qt3-dev-tools-embedded_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-embedded_3.3.7-5_i386.deb
qt3-dev-tools_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools_3.3.7-5_i386.deb
qt3-doc_3.3.7-5_all.deb
  to pool/main/q/qt-x11-free/qt3-doc_3.3.7-5_all.deb
qt3-examples_3.3.7-5_all.deb
  to pool/main/q/qt-x11-free/qt3-examples_3.3.7-5_all.deb
qt3-linguist_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-linguist_3.3.7-5_i386.deb
qt3-qtconfig_3.3.7-5_i386.deb
  to pool/main/q/qt-x11-free/qt3-qtconfig_3.3.7-5_i386.deb



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.
Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of updated qt-x11-free 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: Tue, 29 May 2007 13:07:33 +0200
Source: qt-x11-free
Binary: libqt3-i18n qt3-apps-dev libqt3-mt-sqlite qt-x11-free-dbg qt3-assistant qt3-examples qt3-doc libqt3-headers libqt3-mt-mysql libqt3-mt libqt3-mt-odbc libqt3-compat-headers qt3-dev-tools-embedded qt3-dev-tools libqt3-mt-ibase qt3-designer qt3-linguist qt3-qtconfig qt3-dev-tools-compat libqt3-mt-dev libqt3-mt-psql
Architecture: source i386 all
Version: 3:3.3.7-5
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Description: 
 libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
 libqt3-headers - Qt3 header files
 libqt3-i18n - i18n files for Qt3 library
 libqt3-mt  - Qt GUI Library (Threaded runtime version), Version 3
 libqt3-mt-dev - Qt development files (Threaded)
 libqt3-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
 libqt3-mt-mysql - MySQL database driver for Qt3 (Threaded)
 libqt3-mt-odbc - ODBC database driver for Qt3 (Threaded)
 libqt3-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
 libqt3-mt-sqlite - SQLite database driver for Qt3 (Threaded)
 qt-x11-free-dbg - debugging symbols for qt-x11-free binaries
 qt3-apps-dev - Qt3 Developer applications development files
 qt3-assistant - The Qt3 assistant application
 qt3-designer - Qt3 Designer
 qt3-dev-tools - Qt3 development tools
 qt3-dev-tools-compat - Conversion utilities for Qt3 development
 qt3-dev-tools-embedded - Tools to develop embedded Qt applications
 qt3-doc    - Qt3 API documentation
 qt3-examples - Examples for Qt3
 qt3-linguist - The Qt3 Linguist
 qt3-qtconfig - The Qt3 Configuration Application
Closes: 408814 409512 410968 417499 427191
Changes: 
 qt-x11-free (3:3.3.7-5) unstable; urgency=low
 .
   +++ Changes by Sune Vuorela:
 .
   * Add fix to qbutton.h with gcc-4.2 and higher. (Closes: #409512)
   * Add fix to compile with gcc-4.3 (Closes: 417499). Thanks to Martin
     Michlmayr.
   * Fix designer and assistant desktop files. Thanks Pino.
   * Fix FTBFS with newer firebird. Thanks to Firebird maintainers for breaking
     it. This requires to change -lgds to -lfbclient. (Closes: #427191)
   * Add sparc to firebird archs. Thanks to Damyan Ivanov.
   * Add armel support to qt3. Thanks to Riku Voipu and Lennert Beytenhek.
     (Closes: 408814)
   * Fix typo in some documentation. (Closes: 410968)
Files: 
 b1d4f6d4aac74ca1a5aa9856491b6fc4 1852 libs optional qt-x11-free_3.3.7-5.dsc
 814cbd9daad6c96b7195b1765b31ebf2 234315 libs optional qt-x11-free_3.3.7-5.diff.gz
 4d4a1d7592ec266367a334ea279155c0 130642 libs optional libqt3-i18n_3.3.7-5_all.deb
 78dcb86c658533caa61582e25347f4f4 5610878 doc extra qt3-doc_3.3.7-5_all.deb
 07e0f3bb0ad38aa548bbf1d7c5499ef4 1571096 doc extra qt3-examples_3.3.7-5_all.deb
 1bd48fc0a6483058a5867eb718ed5aed 3303210 libs optional libqt3-mt_3.3.7-5_i386.deb
 a602a5e9dc44026db4215d325310eebb 49224 libs optional libqt3-mt-mysql_3.3.7-5_i386.deb
 86774f516dae5cc3f6b5a2f04f7540f4 71670 libs optional libqt3-mt-odbc_3.3.7-5_i386.deb
 5902cd24e275380971e92c82d41cd809 55286 libs optional libqt3-mt-psql_3.3.7-5_i386.deb
 110991aafb6c05ced7c7ea148f8940d5 55984 libs optional libqt3-mt-ibase_3.3.7-5_i386.deb
 f23f9f1faf09ca47b071fe8e27df41aa 201574 libs optional libqt3-mt-sqlite_3.3.7-5_i386.deb
 9baea8becac512a928eeaba2e9ab406a 47130 libdevel optional libqt3-mt-dev_3.3.7-5_i386.deb
 8ae3d5389d2240f318a9a17f82708424 363748 devel optional libqt3-headers_3.3.7-5_i386.deb
 de1b082445682274c09e0ba98da70193 76692 devel optional libqt3-compat-headers_3.3.7-5_i386.deb
 3c41c9cb889ba85a1492877a9ade0136 1248454 devel optional qt3-dev-tools_3.3.7-5_i386.deb
 ae96c72fe8605d08c6e7cd2e11c9d7e9 4099132 devel optional qt3-designer_3.3.7-5_i386.deb
 e4153eba9825aa480e72f36ce17dfa79 2377026 devel optional qt3-apps-dev_3.3.7-5_i386.deb
 f2a2e4070a43536a227b660822405e32 344916 devel optional qt3-linguist_3.3.7-5_i386.deb
 ea4215e3ce63b903ead3bd092fb17ef9 240140 x11 optional qt3-assistant_3.3.7-5_i386.deb
 88bd4f513ba80b0ba833a73d094c5d2a 96842 x11 optional qt3-qtconfig_3.3.7-5_i386.deb
 28ab3ba855502df0e4ce803dec368700 288348 devel optional qt3-dev-tools-embedded_3.3.7-5_i386.deb
 869a9e1e82b0c83556f75acbc4bb9b5c 67594 devel optional qt3-dev-tools-compat_3.3.7-5_i386.deb
 98853bc06abf606845d98de3697d7f14 32863682 libdevel extra qt-x11-free-dbg_3.3.7-5_i386.deb

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

iD8DBQFGd6wVn3j4POjENGERAr7RAJsGJBF3MPpOOYHNqJMcXkMwelIVHgCeJo9v
cHT14O8sSU7n8s516bUhoj4=
=JZ7w
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: