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

Bug#459379: marked as done (libqt4-dev: "type qualifiers ignored" warning on GCC 4.3)



Your message dated Sun, 25 May 2008 15:05:07 +0000
with message-id <20080525150507.GB31396@crustytoothpaste.ath.cx>
and subject line Fixed in Qt 4.4
has caused the Debian Bug report #459379,
regarding libqt4-dev: "type qualifiers ignored" warning on GCC 4.3
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
459379: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459379
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt4-dev
Version: 4.3.3-2
Severity: normal

When using GCC 4.3 to compile, I get lots of warnings:

In file included from /usr/include/qt4/QtCore/qstring.h:40,
                 from /usr/include/qt4/QtCore/QString:1,
                 from version.cc:24:
/usr/include/qt4/QtCore/qchar.h:52: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qchar.h:53: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qchar.h:232: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qchar.h:233: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qchar.h:234: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qchar.h:335: warning: type qualifiers ignored on function return type
In file included from /usr/include/qt4/QtCore/qstring.h:41,
                 from /usr/include/qt4/QtCore/QString:1,
                 from version.cc:24:
/usr/include/qt4/QtCore/qbytearray.h:144: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:145: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:147: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:346: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:348: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:350: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qbytearray.h:391: warning: type qualifiers ignored on function return type
In file included from /usr/include/qt4/QtCore/QString:1,
                 from version.cc:24:
/usr/include/qt4/QtCore/qstring.h:787: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qstring.h:788: warning: type qualifiers ignored on function return type
/usr/include/qt4/QtCore/qstring.h:789: warning: type qualifiers ignored on function return type

These occur (at least partially) because of things like "operator const char()", where the "const" is unneeded and useless. Because qmake uses -Wall -W, I get lots and lots of warnings for every source file.

At the very least, Qt should be -Wall safe, and if it's not -W safe, then qmake shouldn't invoke the compiler with -W. The spurious warnings make finding real warnings or errors very difficult.

This is severity normal because GCC 4.3 is not yet the default compiler.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc6 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libqt4-dev depends on:
ii  libaudio-dev            1.9.1-1          Network Audio System - development
ii  libfreetype6-dev        2.3.5-1+b1       FreeType 2 font engine, developmen
ii  libgl1-mesa-dev [libgl- 7.0.2-3          A free implementation of the OpenG
ii  libglib2.0-dev          2.14.4-2         Development files for the GLib lib
ii  libglu1-mesa-dev [libgl 7.0.2-3          The OpenGL utility library -- deve
ii libice-dev 2:1.0.4-1 X11 Inter-Client Exchange library ii libjpeg62-dev 6b-14 Development files for the IJG JPEG
ii  libmng-dev              1.0.9-1          M-N-G library (Development headers
ii  libpng12-dev [libpng12- 1.2.15~beta5-3   PNG library - development
ii  libpq-dev               8.2.5-4          header files for libpq5 (PostgreSQ
ii  libqt4-core             4.3.3-2          Qt 4 core non-GUI functionality ru
ii  libqt4-gui              4.3.3-2          Qt 4 core GUI functionality runtim
ii libqt4-qt3support 4.3.3-2 Qt 3 compatibility library for Qt ii libqt4-sql 4.3.3-2 Qt 4 SQL database module ii libsm-dev 2:1.0.3-1+b1 X11 Inter-Client Exchange library ii libsqlite0-dev 2.8.17-4 SQLite development files
ii  libx11-dev              2:1.1.3-1        X11 client-side library (developme
ii  libxcursor-dev          1:1.1.9-1        X cursor management library (devel
ii  libxext-dev             1:1.0.3-2        X11 miscellaneous extensions libra
ii  libxft-dev              2.1.12-2         FreeType-based font drawing librar
ii  libxi-dev               2:1.1.3-1        X11 Input extension library (devel
ii  libxinerama-dev         1:1.0.2-1        X11 Xinerama extension library (de
ii libxmu-dev 1:1.0.3-1 X11 miscellaneous utility library ii libxrandr-dev 2:1.2.2-1 X11 RandR extension library (devel
ii  libxrender-dev          1:0.9.4-1        X Rendering Extension client libra
ii  libxt-dev               1:1.0.5-3        X11 toolkit intrinsics library (de
ii  x11proto-core-dev       7.0.11-1         X11 core wire protocol and auxilia
ii  zlib1g-dev              1:1.2.3.3.dfsg-8 compression library - development

libqt4-dev recommends no packages.

-- no debconf information

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 4.4.0-2

I've re-tested, and Qt 4.4 doesn't have this problem.

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: