I just updated to v2.5 and Im getting
warning: return type of 'main' is not 'int' ???
I just updated to v2.5 and Im getting
warning: return type of 'main' is not 'int' ???
Hi,
Your main() function returns "not int".
Try to return an int from your main function, ie:
int main(void) { ... while(1) { ... } return 0; }
Kind regards,
Håkon
ok, but it was never an issue, and all examples use void. and dont return that error?
In NCS v2.5.0, the thread "main" shall return an int type. Change was introduced with this upstream PR:
https://github.com/zephyrproject-rtos/zephyr/pull/54628
Kind regards,
Håkon
In NCS v2.5.0, the thread "main" shall return an int type. Change was introduced with this upstream PR:
https://github.com/zephyrproject-rtos/zephyr/pull/54628
Kind regards,
Håkon