[Wayland-bugs] [Bug 63485] "private" member variable in weston_surface struct is a reserved keyword in C++
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 12 14:39:03 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=63485
--- Comment #3 from U. Artie Eoff <ullysses.a.eoff at intel.com> ---
(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
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130412/d825fc3f/attachment.html>
More information about the Wayland-bugs
mailing list