Summary: | "private" member variable in weston_surface struct is a reserved keyword in C++ | ||
---|---|---|---|
Product: | Wayland | Reporter: | U. Artie Eoff <ullysses.a.eoff> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | ||
Version: | 1.0.x | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
U. Artie Eoff
2013-04-12 18:48:36 UTC
We can't fix this in a stable release series, it breaks the module API. What you can do is say #define private configure_private #include "compositor.h" #undef private to work around the problem. Kristian (In reply to comment #1) > We can't fix this in a stable release series, it breaks the module API. > What you can do is say > > #define private configure_private > #include "compositor.h" > #undef private > > to work around the problem. > > Kristian We can live with this workaround. Thanks! (In reply to comment #1) > We can't fix this in a stable release series, it breaks the module API. > What you can do is say > > #define private configure_private > #include "compositor.h" > #undef private > > to work around the problem. > > Kristian extern "C" { #define private configure_private #include <weston/compositor.h> #undef private } |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.