I use gcc-gnu arm compiler 2019 q4 release. I've added -fno-short-enums compiler flag. It resulted in multiple warnings: "uses 32-bit enums yet the output is to use variable-size enums". Does anyone know the reason of this warning and how to handle it?
Hi,
Thanks for your reply. I have searched for that in the web.
The most common answer is just to ignore this warning using linker flag.
However, I would like to understand the reason before I ignore this warning.
Regards,
Daniel