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

Bug#676957: libqt4-dev: including qtconcurrentfilter.h generates a gcc warning



Package: libqt4-dev
Version: 4:4.8.2-1
Severity: normal


During compilation of one of my programs the following warning is generated:

In file included from /usr/include/qt4/QtCore/QtCore:50:0,
                 from /usr/include/qt4/QtDeclarative/QtDeclarative:3,
                 from ../../epubreader/reader/src/epubreaderapplication.cxx:22:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs]
     typedef typename Sequence::const_iterator Iterator;
                                               ^

This did not happen with Qt 4.7. The typeded looks unused, so the warning is valid.
The wanring-related options were: -Wall -W

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqt4-dev depends on:
ii  libqt4-dbus         4:4.8.2-1
ii  libqt4-declarative  4:4.8.2-1
ii  libqt4-designer     4:4.8.2-1
ii  libqt4-dev-bin      4:4.8.2-1
ii  libqt4-help         4:4.8.2-1
ii  libqt4-network      4:4.8.2-1
ii  libqt4-qt3support   4:4.8.2-1
ii  libqt4-script       4:4.8.2-1
ii  libqt4-scripttools  4:4.8.2-1
ii  libqt4-sql          4:4.8.2-1
ii  libqt4-svg          4:4.8.2-1
ii  libqt4-test         4:4.8.2-1
ii  libqt4-xml          4:4.8.2-1
ii  libqt4-xmlpatterns  4:4.8.2-1
ii  libqtcore4          4:4.8.2-1
ii  libqtgui4           4:4.8.2-1
ii  qt4-linguist-tools  4:4.8.2-1
ii  qt4-qmake           4:4.8.2-1

Versions of packages libqt4-dev recommends:
pn  libqt4-opengl-dev  <none>
ii  libqtwebkit-dev    2.2.1-4+b1

Versions of packages libqt4-dev suggests:
pn  firebird-dev        <none>
pn  libmysqlclient-dev  <none>
pn  libpq-dev           <none>
pn  libsqlite0-dev      <none>
pn  libsqlite3-dev      <none>
ii  qt4-dev-tools       4:4.8.2-1
ii  qt4-doc             4:4.8.2-1
ii  unixodbc-dev        2.2.14p2-5

-- no debconf information



Reply to: