]> code.ossystems Code Review - openembedded-core.git/commit
qt: fix warning -Wunused-local-typedefs introduced by gcc 4.8
authorAndreas Müller <schnitzeltony@googlemail.com>
Thu, 16 May 2013 23:28:42 +0000 (23:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 May 2013 23:13:34 +0000 (00:13 +0100)
commit4cb93a42bae3dfa53880a9475a92cc046dde5767
tree71da1e73fe1d2c3fc982b3fdbd4f39c28138c57a
parentb3e2e405c53d63bc71872d41f455507be833e7eb
qt: fix warning -Wunused-local-typedefs introduced by gcc 4.8

in meta-oe maliit-framework failed with

| In file included from /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/QtCore:53:0,
|                  from ../utils/core-utils.cpp:18:
| /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, Redu
| /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]
|      typedef typename Sequence::const_iterator Iterator;
|                                                ^
| cc1plus: all warnings being treated as errors

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt4-4.8.4.inc
meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb
meta/recipes-qt/qt4/qt4-native.inc
meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb