summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-05-16 23:28:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-21 00:18:45 +0100
commit503c669ca7af397cba0286908f2db2b5d533c0c3 (patch)
treea1cb27fc4a01bb700b7d87769c223ea8a2b4f400 /meta/recipes-qt
parent0948a237ddfcd92dcc4a21e238a963568161f12d (diff)
downloadpoky-503c669ca7af397cba0286908f2db2b5d533c0c3.tar.gz
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 (From OE-Core rev: 4cb93a42bae3dfa53880a9475a92cc046dde5767) 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>
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.4.inc1
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch37
-rw-r--r--meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb2
-rw-r--r--meta/recipes-qt/qt4/qt4-native.inc3
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb2
5 files changed, 42 insertions, 3 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4.inc b/meta/recipes-qt/qt4/qt4-4.8.4.inc
index 9da3557335..ce12b1e52b 100644
--- a/meta/recipes-qt/qt4/qt4-4.8.4.inc
+++ b/meta/recipes-qt/qt4/qt4-4.8.4.inc
@@ -24,6 +24,7 @@ SRC_URI = "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-sr
24 file://0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch \ 24 file://0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch \
25 file://0023-qtnetwork-blacklist-two-more-certificates.patch \ 25 file://0023-qtnetwork-blacklist-two-more-certificates.patch \
26 file://0024-Change-all-shmget-calls-to-user-only-memory.patch \ 26 file://0024-Change-all-shmget-calls-to-user-only-memory.patch \
27 file://0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch \
27 file://g++.conf \ 28 file://g++.conf \
28 file://linux.conf \ 29 file://linux.conf \
29 " 30 "
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch
new file mode 100644
index 0000000000..498f14f69a
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch
@@ -0,0 +1,37 @@
1From https://codereview.qt-project.org/p/qt/qt
2 * branch refs/changes/22/53322/2 -> FETCH_HEAD
3From 28524b867ee8c9784f00eec0f07e4d9491a651b8 Mon Sep 17 00:00:00 2001
4From: Thiago Macieira <thiago.macieira@intel.com>
5Date: Tue, 9 Apr 2013 16:41:23 -0700
6Subject: [PATCH] Remove unnecessary typedef, found by GCC 4.8
7
8qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs]
9
10Qt5 commit: d4c241a98059edaa7a4b15beb1cfd16ed041284e (qtbase)
11Task-number: QTBUG-30594
12Change-Id: Icc69e41c2d4e11962f0c8434236d4847b46e7d9d
13
14Upstream-Status: Pending for 4.8.5 [1]
15
16[1] https://codereview.qt-project.org/#change,53322
17
18Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
19---
20 src/corelib/concurrent/qtconcurrentfilter.h | 1 -
21 1 files changed, 0 insertions(+), 1 deletions(-)
22
23diff --git a/src/corelib/concurrent/qtconcurrentfilter.h b/src/corelib/concurrent/qtconcurrentfilter.h
24index 50b58bd..5a70182 100644
25--- a/src/corelib/concurrent/qtconcurrentfilter.h
26+++ b/src/corelib/concurrent/qtconcurrentfilter.h
27@@ -105,7 +105,6 @@ namespace QtConcurrent {
28 template <typename Sequence, typename KeepFunctor, typename ReduceFunctor>
29 ThreadEngineStarter<void> filterInternal(Sequence &sequence, KeepFunctor keep, ReduceFunctor reduce)
30 {
31- typedef typename Sequence::const_iterator Iterator;
32 typedef FilterKernel<Sequence, KeepFunctor, ReduceFunctor> KernelType;
33 return startThreadEngine(new KernelType(sequence, keep, reduce));
34 }
35--
361.7.4.4
37
diff --git a/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb b/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb
index 286da95e2f..c08927edff 100644
--- a/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb
+++ b/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb
@@ -1,7 +1,7 @@
1require qt4-${PV}.inc 1require qt4-${PV}.inc
2require qt4-embedded.inc 2require qt4-embedded.inc
3 3
4PR = "${INC_PR}.3" 4PR = "${INC_PR}.4"
5 5
6QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}" 6QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}"
7 7
diff --git a/meta/recipes-qt/qt4/qt4-native.inc b/meta/recipes-qt/qt4/qt4-native.inc
index 7645232208..59c8ab5265 100644
--- a/meta/recipes-qt/qt4/qt4-native.inc
+++ b/meta/recipes-qt/qt4/qt4-native.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
9 file://LICENSE.GPL3;md5=6e1694ee338db410417517884918d4d2 \ 9 file://LICENSE.GPL3;md5=6e1694ee338db410417517884918d4d2 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6" 10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
11 11
12INC_PR = "r19" 12INC_PR = "r20"
13 13
14inherit native 14inherit native
15 15
@@ -18,6 +18,7 @@ SRC_URI = "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-sr
18 file://0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch \ 18 file://0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch \
19 file://0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch \ 19 file://0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch \
20 file://0021-configure-make-qt4-native-work-with-long-building-pa.patch \ 20 file://0021-configure-make-qt4-native-work-with-long-building-pa.patch \
21 file://0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch \
21 file://g++.conf \ 22 file://g++.conf \
22 file://linux.conf \ 23 file://linux.conf \
23 " 24 "
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb
index e5db30d41d..d6edef9442 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb
+++ b/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb
@@ -1,7 +1,7 @@
1require qt4-x11-free.inc 1require qt4-x11-free.inc
2require qt4-${PV}.inc 2require qt4-${PV}.inc
3 3
4PR = "${INC_PR}.3" 4PR = "${INC_PR}.4"
5 5
6QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}" 6QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}"
7 7