Hmmmm alright. Yea the ifdef c++ is wrong. I'll fix this tomorrow. 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 | Keywords: wayland >Blocked By: | Blocking: >-----------------------+------------------------ > Unable to {{{#include <Ecore_Wayland.h>}}} in a C++ program. The > {{{g++}}} compiler generates the following error: > > {{{ > /home/uartie/Work/intel/wayland/install/include/ecore- > wayland-1/Ecore_Wayland.h:33:14: error: use of enum > ‘_Ecore_Wl_Window_Type’ without previous declaration > /home/uartie/Work/intel/wayland/install/include/ecore- >wayland-1/Ecore_Wayland.h:33:56: error: invalid type in declaration >before > ‘;’ token > /home/uartie/Work/intel/wayland/install/include/ecore- > wayland-1/Ecore_Wayland.h:34:14: error: use of enum > ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration > /home/uartie/Work/intel/wayland/install/include/ecore- >wayland-1/Ecore_Wayland.h:34:70: error: invalid type in declaration >before > ‘;’ token > }}} > >Putting "{{{#ifdef __cplusplus}}} ..." declaration in the >Ecore_Wayland.h > header does not seem to fix it (unless I failed at doing it right). > > > || efl || trunk/efl || `83306:83306` || > || elementary || trunk/elementary || `83306:83303` || > >-- >Ticket URL: <http://trac.enlightenment.org/e/ticket/2217> >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