You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I tried to modify the file name "socket_echo.c" to "socket_echo.cpp" to compile it as cpp (and the cmake accordingly) for the native_posix board.
it doesnt compile because a "conflict declaration" for the select function (something not working with socket_select.h file from the zephyr and the /usr/include/sys/select.h file together)
it happen only in cpp but not in c, anyone knows why?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi, I tried to modify the file name "socket_echo.c" to "socket_echo.cpp" to compile it as cpp (and the cmake accordingly) for the native_posix board.
it doesnt compile because a "conflict declaration" for the select function (something not working with socket_select.h file from the zephyr and the /usr/include/sys/select.h file together)
it happen only in cpp but not in c, anyone knows why?
Beta Was this translation helpful? Give feedback.
All reactions