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
When trying to "#include time.h" in a platformIO project the compiler raises error:
In file included from src/main.cpp:14:0:
/home/axel/.platformio/packages/framework-wizio-pico/wizio/newlib/time.h:47:18: error: conflicting declaration of C function 'unsigned int micros()'
unsigned int micros(void);
^~~~~~
compilation terminated due to -Wfatal-errors.
and in the file newlib/time.h the offending function micros() is marked with error "cannot overload functions distinguished by return type alone".
When trying to "#include time.h" in a platformIO project the compiler raises error:
In file included from src/main.cpp:14:0:
/home/axel/.platformio/packages/framework-wizio-pico/wizio/newlib/time.h:47:18: error: conflicting declaration of C function 'unsigned int micros()'
unsigned int micros(void);
^~~~~~
compilation terminated due to -Wfatal-errors.
and in the file newlib/time.h the offending function micros() is marked with error "cannot overload functions distinguished by return type alone".
The platform is linked in the platformio.ini file with "platform = https://github.com/Wiz-IO/wizio-pico.git"
The text was updated successfully, but these errors were encountered: