Hello Arm Community,
I am trying to build a project for the STM32 Nucleo-F401RE (cortexM4) that uses a pre-built static library (.a), however I am running into the error "... packed-enum clashes with enum_is_int."
The library was built with armclang using the flags: -O3, -mfpu=fpv4-sp-d16, -mfloat-abi=hard, -mthumb, -mcpu=cortex-m4. I have configured C/C++ within "Options for Target" to include the same flags through "Misc Controls" for ARM Compiler 6.
I have tried adding "-fno-short-wchar", " -fshort-enums", "-fshort-wchar", and "--enum_is_int", but I still run into the same issue.
How does one resolve this issue?
Thank you