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 |