<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED INVALID - "private" member variable in weston_surface struct is a reserved keyword in C++"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63485#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED INVALID - "private" member variable in weston_surface struct is a reserved keyword in C++"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63485">bug 63485</a>
from <span class="vcard"><a class="email" href="mailto:ullysses.a.eoff@intel.com" title="U. Artie Eoff <ullysses.a.eoff@intel.com>"> <span class="fn">U. Artie Eoff</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=63485#c1">comment #1</a>)
<span class="quote">> 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</span >
extern "C" {
#define private configure_private
#include <weston/compositor.h>
#undef private
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>