Well that makes no sense. EFL has enums like Ecore_Wayland all over the place...

dh

E-Trac <t...@enlightenment.org> wrote:

>#2217: [wayland] Compile error when including Ecore_Wayland.h in c++
>program
>----------------------+-------------------------
> Reporter:  uartie    |       Owner:  devilhorns
>     Type:  Bug       |      Status:  new
> Priority:  Critical  |   Milestone:
>Component:  ecore     |  Resolution:
> Keywords:  wayland   |  Blocked By:
> Blocking:            |
>----------------------+-------------------------
>
>Comment (by etrunko):
>
> I tried the #ifdef __cplusplus here too, without success.
>
> I am not sure why, but changing the declaration of the enums from
>
> {{{
> typedef enum _Foo Foo;
> enum _Foo
> {
>    val;
> };
> }}}
>
> to
>
> {{{
> typedef enum
> {
>    val;
> } Foo;
> }}}
>
> Solves the problem.
>
>-- 
>Ticket URL: <http://trac.enlightenment.org/e/ticket/2217#comment:1>
>Enlightenment <http://www.enlightenment.org/>
>Enlightenment Project
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to