[Wayland-bugs] [Bug 51740] New: [PATCH] wayland-scanner client-header generates code that needs to include wayland-client.h
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 4 14:35:41 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=51740
Bug #: 51740
Summary: [PATCH] wayland-scanner client-header generates code
that needs to include wayland-client.h
Classification: Unclassified
Product: Wayland
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: wayland
AssignedTo: wayland-bugs at lists.freedesktop.org
ReportedBy: robert.ancell at gmail.com
Created attachment 63843
--> https://bugs.freedesktop.org/attachment.cgi?id=63843
Include weston-client.h as the inline functions require it
The code generated using wayland-scanner doesn't include wayland-client.h but
uses functions from that header, e.g.:
CC lightdm-seat-weston.o
In file included from seat-weston.c:20:0:
weston-protocol.h: In function ‘wl_system_client_add_listener’:
weston-protocol.h:42:2: warning: implicit declaration of function
‘wl_proxy_add_listener’ [-Wimplicit-function-declaration]
weston-protocol.h:42:2: warning: nested extern declaration of
‘wl_proxy_add_listener’ [-Wnested-externs]
weston-protocol.h: In function ‘wl_system_client_set_user_data’:
weston-protocol.h:51:2: warning: implicit declaration of function
‘wl_proxy_set_user_data’ [-Wimplicit-function-declaration]
weston-protocol.h:51:2: warning: nested extern declaration of
‘wl_proxy_set_user_data’ [-Wnested-externs]
weston-protocol.h: In function ‘wl_system_client_get_user_data’:
weston-protocol.h:57:2: warning: implicit declaration of function
‘wl_proxy_get_user_data’ [-Wimplicit-function-declaration]
weston-protocol.h:57:2: warning: nested extern declaration of
‘wl_proxy_get_user_data’ [-Wnested-externs]
weston-protocol.h:57:2: warning: return makes pointer from integer without a
cast [enabled by default]
weston-protocol.h: In function ‘wl_system_client_terminate’:
weston-protocol.h:63:2: warning: implicit declaration of function
‘wl_proxy_marshal’ [-Wimplicit-function-declaration]
weston-protocol.h:63:2: warning: nested extern declaration of
‘wl_proxy_marshal’ [-Wnested-externs]
weston-protocol.h:66:2: warning: implicit declaration of function
‘wl_proxy_destroy’ [-Wimplicit-function-declaration]
weston-protocol.h:66:2: warning: nested extern declaration of
‘wl_proxy_destroy’ [-Wnested-externs]
weston-protocol.h: In function ‘wl_display_manager_get_user_data’:
weston-protocol.h:81:2: warning: return makes pointer from integer without a
cast [enabled by default]
weston-protocol.h: In function ‘wl_display_manager_add_client’:
weston-protocol.h:95:2: warning: implicit declaration of function
‘wl_proxy_create’ [-Wimplicit-function-declaration]
weston-protocol.h:95:2: warning: nested extern declaration of ‘wl_proxy_create’
[-Wnested-externs]
weston-protocol.h:95:5: warning: assignment makes pointer from integer without
a cast [enabled by default]
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Wayland-bugs
mailing list