Hahahaha yea :-) Well if it fixes the problem And still complies in C then I am alright with that fix. Please test in normal C first and if its ok then commit.
Cheers dh "Eduardo Lima (Etrunko)" <ebl...@gmail.com> wrote: >On Thu, Jan 24, 2013 at 7:01 PM, Christopher Michael ><cpmicha...@comcast.net> wrote: >> Well that makes no sense. EFL has enums like Ecore_Wayland all over >the place... >> > >I know it doesn't make sense. But you know, C++ and so.. :) > >> 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 > > > >-- >Eduardo de Barros Lima ◤✠◢ >ebl...@gmail.com > >------------------------------------------------------------------------------ >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 ------------------------------------------------------------------------------ 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