-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Hello and sorry.
I didnt find any way how i can compile the C++ samples under Windows + Eclipse.
It´s always taking the gcc compiler but not gcc++
c:/Espressif/ESP8266_SDK/include/osapi.h:67:6: note: previous declaration with 'C++' linkage
void ets_timer_setfn(os_timer_t *ptimer, os_timer_func_t *pfunction, void parg);
^
user/user_main.cpp:28:86: error: conflicting declaration of 'void ets_timer_arm_new(ETSTimer, uint32_t, bool, bool)' with 'C' linkage
void ets_timer_arm_new(ETSTimer *ptimer,uint32_t milliseconds, bool repeat_flag, bool);
^
In file included from user/user_main.cpp:6:0:
c:/Espressif/ESP8266_SDK/include/osapi.h:65:6: note: previous declaration with 'C++' linkage
void ets_timer_arm_new(os_timer_t *ptimer, uint32_t time, bool repeat_flag, bool ms_flag);
^
../common_cpp.mk:351: recipe for target 'build/user/user_main.o' failed
mingw32-make.exe: *** [build/user/user_main.o] Error 1
21:15:23 Build Finished (took 6s.960ms)
thanks