Why does a fresh CubeIDE project including RTOS produce 50 compilation warnings?
Hello!
I just created a fresh project in STM32CubeIDE for STM32L496ZGTxP and included FREERTOS with CubeMX and left everything at its default setting for the time being. After generating the code and compiling, I get 50 compiler warnings. All look somewhat like this:
../Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_core.c:443:64: warning: passing argument 4 of 'osMessageQueuePut' makes integer from pointer without a cast [-Wint-conversion]
443 | (void)osMessageQueuePut(phost->os_event, &phost->os_msg, 0U, NULL);
| ^~~~
| |
| void *
Is it just me who thinks comiler warnings are not to be ignored?
Many Greetings!
Remo
