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

Changeset [83310]: Move typedef enum declarations after the enum to make g++ happy. When ...

$
0
0

Move typedef enum declarations after the enum to make g++ happy.

When compiling a C++ program that includes Ecore_Wayland:

Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token

This patch fixes ticket #2217.


Viewing all articles
Browse latest Browse all 1612

Trending Articles