Page MenuHomePhabricator

the EFL do not compile on Windows (master)
Closed, ResolvedPublic

Description

the current tree does not compile. Here is the messages :

  CC       lib/efl/interfaces/lib_efl_libefl_la-efl_vpath_file.lo
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_interfaces_main.c:5:
../src/lib/efl/interfaces/efl_control.eo.c:24:17: warning: 'efl_control_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_control_interface_get, &_efl_control_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from lib/efl/interfaces/efl_interfaces_main.c:8:0:
../src/lib/efl/interfaces/efl_file.eo.c:1:34: error: variable '_EFL_FILE_EVENT_ASYNC_OPENED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_FILE_EVENT_ASYNC_OPENED =
                                  ^
../src/lib/efl/interfaces/efl_file.eo.c:1:34: warning: '_EFL_FILE_EVENT_ASYNC_OPENED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_file.eo.c:3:34: error: variable '_EFL_FILE_EVENT_ASYNC_ERROR' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_FILE_EVENT_ASYNC_ERROR =
                                  ^
../src/lib/efl/interfaces/efl_file.eo.c:3:34: warning: '_EFL_FILE_EVENT_ASYNC_ERROR' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_interfaces_main.c:5:
../src/lib/efl/interfaces/efl_file.eo.c:44:17: warning: 'efl_file_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_file_interface_get, &_efl_file_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_image.eo.c:42:17: warning: 'efl_image_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_image_interface_get, &_efl_image_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_image_animated.eo.c:30:17: warning: 'efl_image_animated_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_image_animated_interface_get, &_efl_image_animated_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from lib/efl/interfaces/efl_interfaces_main.c:11:0:
../src/lib/efl/interfaces/efl_image_load.eo.c:1:34: error: variable '_EFL_IMAGE_LOAD_EVENT_LOAD_DONE' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_IMAGE_LOAD_EVENT_LOAD_DONE =
                                  ^
../src/lib/efl/interfaces/efl_image_load.eo.c:1:34: warning: '_EFL_IMAGE_LOAD_EVENT_LOAD_DONE' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_image_load.eo.c:3:34: error: variable '_EFL_IMAGE_LOAD_EVENT_LOAD_ERROR' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_IMAGE_LOAD_EVENT_LOAD_ERROR =
                                  ^
../src/lib/efl/interfaces/efl_image_load.eo.c:3:34: warning: '_EFL_IMAGE_LOAD_EVENT_LOAD_ERROR' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_image_load.eo.c:5:34: error: variable '_EFL_IMAGE_LOAD_EVENT_LOAD_CANCELLED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_IMAGE_LOAD_EVENT_LOAD_CANCELLED =
                                  ^
../src/lib/efl/interfaces/efl_image_load.eo.c:5:34: warning: '_EFL_IMAGE_LOAD_EVENT_LOAD_CANCELLED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_interfaces_main.c:5:
../src/lib/efl/interfaces/efl_image_load.eo.c:59:17: warning: 'efl_image_load_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_image_load_interface_get, &_efl_image_load_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_player.eo.c:44:17: warning: 'efl_player_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_player_interface_get, &_efl_player_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_text.eo.c:20:17: warning: 'efl_text_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_text_interface_get, &_efl_text_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_text_properties.eo.c:24:17: warning: 'efl_text_properties_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_text_properties_interface_get, &_efl_text_properties_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_base.eo.c:36:17: warning: 'efl_gfx_base_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_base_interface_get, &_efl_gfx_base_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_buffer.eo.c:42:17: warning: 'efl_gfx_buffer_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_buffer_interface_get, &_efl_gfx_buffer_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_stack.eo.c:32:17: warning: 'efl_gfx_stack_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_stack_interface_get, &_efl_gfx_stack_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_fill.eo.c:24:17: warning: 'efl_gfx_fill_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_fill_interface_get, &_efl_gfx_fill_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_view.eo.c:20:17: warning: 'efl_gfx_view_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_view_interface_get, &_efl_gfx_view_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_gradient_base.eo.c:24:17: warning: 'efl_gfx_gradient_base_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_gradient_base_interface_get, &_efl_gfx_gradient_base_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_gradient_linear.eo.c:24:17: warning: 'efl_gfx_gradient_linear_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_gradient_linear_interface_get, &_efl_gfx_gradient_linear_class_desc, EFL_GFX_GRADIENT_BASE_INTERFACE, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_gradient_radial.eo.c:28:17: warning: 'efl_gfx_gradient_radial_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_gradient_radial_interface_get, &_efl_gfx_gradient_radial_class_desc, EFL_GFX_GRADIENT_BASE_INTERFACE, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_gfx_filter.eo.c:34:17: warning: 'efl_gfx_filter_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_gfx_filter_interface_get, &_efl_gfx_filter_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_vpath.eo.c:18:17: warning: 'efl_vpath_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_vpath_interface_get, &_efl_vpath_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from lib/efl/interfaces/efl_interfaces_main.c:36:0:
../src/lib/efl/interfaces/efl_model_base.eo.c:1:34: error: variable '_EFL_MODEL_BASE_EVENT_LOAD_STATUS' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_MODEL_BASE_EVENT_LOAD_STATUS =
                                  ^
../src/lib/efl/interfaces/efl_model_base.eo.c:1:34: warning: '_EFL_MODEL_BASE_EVENT_LOAD_STATUS' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_model_base.eo.c:3:34: error: variable '_EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED =
                                  ^
../src/lib/efl/interfaces/efl_model_base.eo.c:3:34: warning: '_EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_model_base.eo.c:5:34: error: variable '_EFL_MODEL_BASE_EVENT_CHILD_ADDED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_MODEL_BASE_EVENT_CHILD_ADDED =
                                  ^
../src/lib/efl/interfaces/efl_model_base.eo.c:5:34: warning: '_EFL_MODEL_BASE_EVENT_CHILD_ADDED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_model_base.eo.c:7:34: error: variable '_EFL_MODEL_BASE_EVENT_CHILD_REMOVED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_MODEL_BASE_EVENT_CHILD_REMOVED =
                                  ^
../src/lib/efl/interfaces/efl_model_base.eo.c:7:34: warning: '_EFL_MODEL_BASE_EVENT_CHILD_REMOVED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
../src/lib/efl/interfaces/efl_model_base.eo.c:9:34: error: variable '_EFL_MODEL_BASE_EVENT_CHILDREN_COUNT_CHANGED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_MODEL_BASE_EVENT_CHILDREN_COUNT_CHANGED =
                                  ^
../src/lib/efl/interfaces/efl_model_base.eo.c:9:34: warning: '_EFL_MODEL_BASE_EVENT_CHILDREN_COUNT_CHANGED' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_interfaces_main.c:5:
../src/lib/efl/interfaces/efl_model_base.eo.c:59:17: warning: 'efl_model_base_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_model_base_interface_get, &_efl_model_base_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from lib/efl/interfaces/efl_interfaces_main.c:37:0:
../src/lib/efl/interfaces/efl_animator.eo.c:1:34: error: variable '_EFL_ANIMATOR_EVENT_ANIMATOR_TICK' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_ANIMATOR_EVENT_ANIMATOR_TICK =
                                  ^
../src/lib/efl/interfaces/efl_animator.eo.c:1:34: warning: '_EFL_ANIMATOR_EVENT_ANIMATOR_TICK' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_interfaces_main.c:5:
../src/lib/efl/interfaces/efl_animator.eo.c:20:17: warning: 'efl_animator_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_animator_interface_get, &_efl_animator_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_gfx_shape.c:9:
../src/lib/efl/interfaces/efl_gfx_shape.eo.c:201:17: warning: 'efl_gfx_shape_mixin_get' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default]
 EO_DEFINE_CLASS(efl_gfx_shape_mixin_get, &_efl_gfx_shape_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
In file included from lib/efl/interfaces/efl_vpath_file.c:61:0:
../src/lib/efl/interfaces/efl_vpath_file.eo.c:1:34: error: variable '_EFL_VPATH_FILE_EVENT_FETCHED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_VPATH_FILE_EVENT_FETCHED =
                                  ^
../src/lib/efl/interfaces/efl_vpath_file.eo.c:1:34: warning: '_EFL_VPATH_FILE_EVENT_FETCHED' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default]
../src/lib/efl/interfaces/efl_vpath_file.eo.c:3:34: error: variable '_EFL_VPATH_FILE_EVENT_FAILED' definition is marked dllimport
 EOAPI const Eo_Event_Description _EFL_VPATH_FILE_EVENT_FAILED =
                                  ^
../src/lib/efl/interfaces/efl_vpath_file.eo.c:3:34: warning: '_EFL_VPATH_FILE_EVENT_FAILED' redeclared without dllimport attribute after being referenced with dll linkage [enabled by default]
../src/lib/efl/interfaces/efl_vpath_file.eo.c:40:6: error: initializer element is not constant
      EFL_VPATH_FILE_EVENT_FETCHED,
      ^
../src/lib/efl/interfaces/efl_vpath_file.eo.c:40:6: error: (near initialization for '_efl_vpath_file_event_desc[0]')
../src/lib/efl/interfaces/efl_vpath_file.eo.c:41:6: error: initializer element is not constant
      EFL_VPATH_FILE_EVENT_FAILED,
      ^
../src/lib/efl/interfaces/efl_vpath_file.eo.c:41:6: error: (near initialization for '_efl_vpath_file_event_desc[1]')
In file included from ../src/lib/efl/Efl.h:8:0,
                 from lib/efl/interfaces/efl_vpath_file.c:2:
../src/lib/efl/interfaces/efl_vpath_file.eo.c:56:17: warning: 'efl_vpath_file_class_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_vpath_file_class_get, &_efl_vpath_file_class_desc, EO_BASE_CLASS, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
../src/lib/efl/interfaces/efl_orientation.eo.c:20:17: warning: 'efl_orientation_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_orientation_interface_get, &_efl_orientation_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
Makefile:30430 : la recette pour la cible « lib/efl/interfaces/lib_efl_libefl_la-efl_vpath_file.lo » a échouée
make[4]: *** [lib/efl/interfaces/lib_efl_libefl_la-efl_vpath_file.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
../src/lib/efl/interfaces/efl_flip.eo.c:20:17: warning: 'efl_flip_interface_get' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 EO_DEFINE_CLASS(efl_flip_interface_get, &_efl_flip_class_desc, NULL, NULL);
                 ^
../src/lib/eo/Eo.h:300:1: note: in definition of macro 'EO_DEFINE_CLASS'
 class_get_func_name(void) \
 ^
Makefile:30409 : la recette pour la cible « lib/efl/interfaces/lib_efl_libefl_la-efl_interfaces_main.lo » a échouée
make[4]: *** [lib/efl/interfaces/lib_efl_libefl_la-efl_interfaces_main.lo] Erreur 1
Makefile:47031 : la recette pour la cible « all-recursive » a échouée
vtorri created this task.Apr 6 2016, 2:09 AM
tasn reassigned this task from raster to jpeg.Apr 6 2016, 6:18 AM
tasn added a subscriber: raster.

I suspect it's another issue with the weak API change. That is, @jpeg's fault. :)

I bet on @raster header change.

jpeg added a comment.Apr 6 2016, 11:16 PM
In T3423#48923, @cedric wrote:

I bet on @raster header change.

Yeah, that's probably a problem with the include order. EAPI is changed because Efl.h is included after Ecore.h inside ecore.c.
See ecore.c:

#include <Eina.h>

#include "Ecore.h"
#include "ecore_private.h"
#include "Efl.h"

Can you try to move Efl.h above?

jpeg added a comment.Apr 6 2016, 11:40 PM
In T3423#48917, @tasn wrote:

I suspect it's another issue with the weak API change. That is, @jpeg's fault. :)

Yeah, after thinking a bit, @tasn might be right. EO APIs are declared as EWAPI which will mean dllimport in the header, while they should be marked dllexport. The problem is that EWAPI is never redefined, like EAPI is.

vtorri added a comment.Apr 7 2016, 5:48 AM

it's fixed but it's not finished...

  CC       lib/evas/canvas/lib_evas_libevas_la-evas_canvas3d_mesh.lo
lib/evas/canvas/evas_canvas3d_mesh.c: In function '_evas_canvas3d_mesh_lod_boundary_set':
lib/evas/canvas/evas_canvas3d_mesh.c:1158:38: error: parameter name omitted
                                      Evas_Real near, Evas_Real far)
                                      ^
lib/evas/canvas/evas_canvas3d_mesh.c:1158:38: error: parameter name omitted
lib/evas/canvas/evas_canvas3d_mesh.c:1160:32: error: expected expression before ';' token
    pd->near_lod_boundary = near;
                                ^
lib/evas/canvas/evas_canvas3d_mesh.c:1161:30: error: expected expression before ';' token
    pd->far_lod_boundary = far;
                              ^
lib/evas/canvas/evas_canvas3d_mesh.c: In function '_evas_canvas3d_mesh_lod_boundary_get':
lib/evas/canvas/evas_canvas3d_mesh.c:1166:38: error: parameter name omitted
                                      Evas_Real *near, Evas_Real *far)
                                      ^
lib/evas/canvas/evas_canvas3d_mesh.c:1166:38: error: parameter name omitted
lib/evas/canvas/evas_canvas3d_mesh.c:1168:10: error: expected expression before '=' token
    *near = pd->near_lod_boundary;
          ^
lib/evas/canvas/evas_canvas3d_mesh.c:1169:9: error: expected expression before '=' token
    *far = pd->far_lod_boundary;
         ^
In file included from lib/evas/canvas/evas_canvas3d_mesh.c:1171:0:
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c: In function 'evas_canvas3d_mesh_lod_boundary_set':
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:92:1: error: parameter name omitted
 EOAPI EO_VOID_FUNC_BODYV(evas_canvas3d_mesh_lod_boundary_set, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real near, Evas_Real far);
 ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:92:1: error: parameter name omitted
In file included from ../src/lib/evas/include/evas_common_private.h:51:0,
                 from lib/evas/canvas/evas_canvas3d_mesh.c:1:
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:92:112: error: expected expression before ',' token
 EOAPI EO_VOID_FUNC_BODYV(evas_canvas3d_mesh_lod_boundary_set, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real near, Evas_Real far);
                                                                                                                ^
../src/lib/eo/Eo.h:567:42: note: in definition of macro '_EO_VOID_FUNC_BODYV'
      _func_(___call.eo_id, ___call.data, Arguments);                      \
                                          ^
../src/lib/eo/Eo.h:575:128: note: in expansion of macro 'EO_FUNC_CALL'
 #define EO_VOID_FUNC_BODYV(Name, BeforeHook, AfterHook, Arguments, ...) _EO_VOID_FUNC_BODYV(Name, Eo *, BeforeHook, AfterHook, EO_FUNC_CALL(Arguments), __VA_ARGS__)
                                                                                                                                ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:92:7: note: in expansion of macro 'EO_VOID_FUNC_BODYV'
 EOAPI EO_VOID_FUNC_BODYV(evas_canvas3d_mesh_lod_boundary_set, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real near, Evas_Real far);
       ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:92:95: note: in expansion of macro 'EO_FUNC_CALL'
 EOAPI EO_VOID_FUNC_BODYV(evas_canvas3d_mesh_lod_boundary_set, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real near, Evas_Real far);
                                                                                               ^
In file included from lib/evas/canvas/evas_canvas3d_mesh.c:1171:0:
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c: In function 'evas_canvas3d_mesh_lod_boundary_get':
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:96:1: error: parameter name omitted
 EOAPI EO_VOID_FUNC_BODYV_CONST(evas_canvas3d_mesh_lod_boundary_get, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real *near, Evas_Real *far);
 ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:96:1: error: parameter name omitted
In file included from ../src/lib/evas/include/evas_common_private.h:51:0,
                 from lib/evas/canvas/evas_canvas3d_mesh.c:1:
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:96:118: error: expected expression before ',' token
 EOAPI EO_VOID_FUNC_BODYV_CONST(evas_canvas3d_mesh_lod_boundary_get, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real *near, Evas_Real *far);
                                                                                                                      ^
../src/lib/eo/Eo.h:567:42: note: in definition of macro '_EO_VOID_FUNC_BODYV'
      _func_(___call.eo_id, ___call.data, Arguments);                      \
                                          ^
../src/lib/eo/Eo.h:580:140: note: in expansion of macro 'EO_FUNC_CALL'
 #define EO_VOID_FUNC_BODYV_CONST(Name, BeforeHook, AfterHook, Arguments, ...) _EO_VOID_FUNC_BODYV(Name, const Eo *, BeforeHook, AfterHook, EO_FUNC_CALL(Arguments), __VA_ARGS__)
                                                                                                                                            ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:96:7: note: in expansion of macro 'EO_VOID_FUNC_BODYV_CONST'
 EOAPI EO_VOID_FUNC_BODYV_CONST(evas_canvas3d_mesh_lod_boundary_get, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real *near, Evas_Real *far);
       ^
../src/lib/evas/canvas/evas_canvas3d_mesh.eo.c:96:101: note: in expansion of macro 'EO_FUNC_CALL'
 EOAPI EO_VOID_FUNC_BODYV_CONST(evas_canvas3d_mesh_lod_boundary_get, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(near, far), Evas_Real *near, Evas_Real *far);
                                                                                                     ^
Makefile:33135 : la recette pour la cible « lib/evas/canvas/lib_evas_libevas_la-evas_canvas3d_mesh.lo » a échouée
vtorri added a comment.EditedApr 7 2016, 5:49 AM

and also a patch for the horror that is this vpath stuff :

this patch is not perfect, there is alsoa FIXME in it

tasn added a comment.Apr 7 2016, 8:35 AM

vpath: please open a new patch and assign to @raster. This has nothing to do with this issue.

jpeg added a comment.Apr 7 2016, 6:31 PM

Argl. Why did MS have to define near and far!?