Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

no matching constructor for initialization of 'QWaylandExtension' #188

Open
fedya opened this issue Mar 8, 2016 · 5 comments
Open

no matching constructor for initialization of 'QWaylandExtension' #188

fedya opened this issue Mar 8, 2016 · 5 comments
Assignees

Comments

@fedya
Copy link

fedya commented Mar 8, 2016

Building greenisland with clang 3.8.0

Scanning dependencies of target GreenIslandClient
[ 13%] Building CXX object src/platform/CMakeFiles/GreenIslandPlatform.dir/deviceintegration/eglfsscreen.cpp.o
[ 10%] Building CXX object src/platform/CMakeFiles/GreenIslandPlatform.dir/deviceintegration/eglfsintegration.cpp.o
[ 25%] Building CXX object src/waylandcompositor/CMakeFiles/GreenIslandCompositor.dir/compositor_api/qwaylandbufferref.cpp.o
src/waylandcompositor/CMakeFiles/GreenIslandCompositor.dir/build.make:238: recipe for target 'src/waylandcompositor/CMakeFiles/GreenIslandCompositor.dir/compositor_api/qwaylandbufferref.cpp.o' failed
In file included from /builddir/build/BUILD/greenisland-0.7.90/src/waylandcompositor/compositor_api/qwaylandbufferref.cpp:40:
In file included from /builddir/build/BUILD/greenisland-0.7.90/src/waylandcompositor/compositor_api/qwaylandbufferref.h:46:
In file included from /builddir/build/BUILD/greenisland-0.7.90/build/headers/GreenIsland/QtWaylandCompositor/QWaylandSurface:1:
In file included from /builddir/build/BUILD/greenisland-0.7.90/build/headers/GreenIsland/QtWaylandCompositor/qwaylandsurface.h:1:
In file included from /builddir/build/BUILD/greenisland-0.7.90/src/waylandcompositor/compositor_api/qwaylandsurface.h:42:
In file included from /builddir/build/BUILD/greenisland-0.7.90/build/headers/GreenIsland/QtWaylandCompositor/qwaylandextension.h:1:
/builddir/build/BUILD/greenisland-0.7.90/src/waylandcompositor/global/qwaylandextension.h:120:11: error: no matching constructor for initialization of 'QWaylandExtension'
        : QWaylandExtension(dd)

Build log https://abf.openmandriva.org/build_lists/5549

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@plfiorini plfiorini added the bug label Mar 9, 2016
@plfiorini plfiorini self-assigned this Mar 9, 2016
@plfiorini plfiorini added this to the Version 0.8.0 milestone Mar 9, 2016
@plfiorini
Copy link
Member

Should be fixed by cb7b632

@fedya
Copy link
Author

fedya commented Mar 10, 2016

This fixed, right. But now i see this

/root/greenisland/BUILD/greenisland-0.7.99/src/server/extensions/screenshooter.cpp:65:5: error: arithmetic on a pointer to void

@tpgxyz
Copy link

tpgxyz commented Mar 14, 2016

Full output -> https://abf.openmandriva.org/build_lists/32375

/builddir/build/BUILD/greenisland-0.7.90-20160314/src/server/extensions/screenshooter.cpp:65:5: error: arithmetic on a pointer to void
wl_array_for_each(pos, e) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wayland-util.h:218:12: note: expanded from macro 'wl_array_for_each'
(pos)++)
~~~~~^
/builddir/build/BUILD/greenisland-0.7.90-20160314/src/server/extensions/screenshooter.cpp:87:5: error: arithmetic on a pointer to void
wl_array_for_each(pos, e) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wayland-util.h:218:12: note: expanded from macro 'wl_array_for_each'
(pos)++)
~~~~~^
/builddir/build/BUILD/greenisland-0.7.90-20160314/src/server/extensions/screenshooter.cpp:108:5: error: arithmetic on a pointer to void
wl_array_for_each(pos, e) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wayland-util.h:218:12: note: expanded from macro 'wl_array_for_each'
(pos)++)
~~~~~^
/builddir/build/BUILD/greenisland-0.7.90-20160314/src/server/extensions/screenshooter.cpp:129:5: error: arithmetic on a pointer to void
wl_array_for_each(pos, e) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wayland-util.h:218:12: note: expanded from macro 'wl_array_for_each'
(pos)++)
~~~~~^
4 errors generated.
make[2]: *** [src/server/CMakeFiles/GreenIslandServer.dir/extensions/screenshooter.cpp.o] Error 1

@plfiorini
Copy link
Member

@plfiorini
Copy link
Member

The macro is from Wayland hence it is an upstream issue.
Wayland needs the patch above upstreamed, after that we can changed the declaration of pos here.

@plfiorini plfiorini removed this from the Version 0.8.0 milestone Apr 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants