]> code.ossystems Code Review - openembedded-core.git/commit
qt4: fix compilation issue
authorNitin A Kamble <nitin.a.kamble@intel.com>
Mon, 30 Apr 2012 21:19:54 +0000 (14:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 May 2012 14:38:06 +0000 (15:38 +0100)
commit1923455340fca5e4b68a2c3ac3566a99baa93cd9
tree8c0c3ecfe87983862151448155cc562b6daa951d
parentbb996003547f9b93b734ddac11407b4eb42ecfac
qt4: fix compilation issue

gcc 4.7 uncovers a type mismatch in the code. And this commit fixes the issue:

| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/gthread.h:58:7: error: 'union' tag used in naming 'struct _GMutex' [-Werror=permissive]
| In file included from ./wtf/Platform.h:1217:0,
|                  from ./config.h:30,
|                  from wtf/gobject/GOwnPtr.cpp:19:
| wtf/gobject/GTypedefs.h:55:16: note: 'struct _GMutex' was previously declared here
NOTE: package qt4-x11-free-4.8.1-r41.1: task do_compile: Failed

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt-4.8.1.inc
meta/recipes-qt/qt4/qt-4.8.1/fix_conflicting_types.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt4-x11-free.inc