2024-02-16 04:26 AM
Hi
I use STM32CubeIDE 1.14.1.
I can compile my project successfully.
But I got below message. I would like to close this warning.
I tried to uncheck Enable all warning about questionable constructions (-Wall) at MCU GCC Compiler.
It still shows warning message.
Please suggest me to disable it.
../Core/Src/main.c: In function 'main':
../Core/Src/main.c:212:3: warning: implicit declaration of function 'Info_Rev' [-Wimplicit-function-declaration]
212 | Info_Rev();
| ^~~~~~~~
Thank you
2024-02-16 04:48 AM
Rather than disable the warning, why not just fix the issue?
Provide a proper prototype for Info_Rev().
https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Warning-Options.html