Page MenuHomePhabricator

compilation error on Windows : elm_naviframe_item_push() is redeclared differently
Closed, ResolvedPublic

Description

CC       lib/elementary/libelementary_la-elc_ctxpopup.lo

In file included from ../../src/lib/elementary/elc_ctxpopup.c:12:
In file included from ../../src/lib/elementary\Elementary.h:204:
In file included from ../../src/lib/elementary\elc_naviframe.h:94:
In file included from ../../src/lib/elementary/elc_naviframe_legacy.h:23:
../../src/lib/elementary/elm_naviframe_eo.legacy.h:206:23: error: redeclaration of 'elm_naviframe_item_push' cannot add 'dllexport' attribute
EAPI Elm_Widget_Item *elm_naviframe_item_push(Elm_Naviframe *obj, const char *title_label, Efl_Canvas_Object *prev_btn, Efl_Canvas_Object *next_btn, Efl_Canvas_Object *content, const char *item_style);

^

../../src/lib/elementary/elc_naviframe_common.h:26:18: note: previous declaration is here
Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);

^

one is declared with EAPI, the other one without