We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: