Bug 265767 - [WPE] Fix missing initializer warning for member wl_pointer_listener::axis_relative_direction and related issues
Summary: [WPE] Fix missing initializer warning for member wl_pointer_listener::axis_re...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Lauro Moura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-03 16:52 PST by Lauro Moura
Modified: 2023-12-04 08:15 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2023-12-03 16:52:48 PST
app/webkit/Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandSeat.cpp:267:1: warning: missing initializer for member ‘wl_pointer_listener::axis_relative_direction’ [-Wmissing-field-initializers]                                                                                       
  267 | };                                                                                                                                  
      | ^ 

On a manual build outside flatpak, it also failed, but complaining about too many initializers to wl_surface_listener. 271427@main added an axis_relative_direction slot, but to wl_surface_listener instead of the `wl_pointer_listener` one, 265775@main.

.../Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:223:1: error: too many initializers for 'const wl_surface_listener'                                                                                                         
  223 | namespace std                                                                                                                       
      | ^ 

Patch incoming.
Comment 1 Lauro Moura 2023-12-03 17:09:34 PST
Pull request: https://github.com/WebKit/WebKit/pull/21246
Comment 2 EWS 2023-12-04 08:15:26 PST
Committed 271479@main (b9f2021a494c): <https://commits.webkit.org/271479@main>

Reviewed commits have been landed. Closing PR #21246 and removing active labels.