diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-12-29 10:25:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 22:59:45 +0000 |
commit | 833cb0e47f7542a67bdf943cede1754b7a20c1d9 (patch) | |
tree | 8cf602766dcbf9c1922fb461b6b1cca4282e3957 /meta/recipes-extended/gperf | |
parent | 15c0ee00550b9e5aac04da598393a614a45bc8a9 (diff) | |
download | openembedded-core-833cb0e47f7542a67bdf943cede1754b7a20c1d9.tar.gz openembedded-core-833cb0e47f7542a67bdf943cede1754b7a20c1d9.tar.bz2 openembedded-core-833cb0e47f7542a67bdf943cede1754b7a20c1d9.zip |
qt4-embedded: support c++0x stand for directfb
While directfd upgrade to 1.7.6, it always includes directfb++ utils
when C++ is used and set c++0x as c++ standard.
(In git://git.directfb.org/git/directfb/core/DirectFB.git
commit b444bcae3197be9faf883460dcc239ef757d5922, and commit
522beeb76f2a8d2dee30d928d2a5955bd06cf25c)
The directfd in qt4-embedded is c++, and there was a build failure:
...
| qdirectfbwindowsurface.cpp:336:69: error: in C++98 'rect' must be
initialized by constructor, not by '{...}'
| const DFBRectangle rect = { r.x(), r.y(), r.width(), r.height() };
...
The g++ used c++98 as default c++ standard, we should
explicitly set c++0x for directfd in qt4-embedded.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta/recipes-extended/gperf')
0 files changed, 0 insertions, 0 deletions