Quantcast
Channel: Enlightenment
Viewing all articles
Browse latest Browse all 1612

Ticket #2217 ([wayland] Compile error when including Ecore_Wayland.h in c++ program) created

$
0
0

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

Viewing all articles
Browse latest Browse all 1612

Trending Articles