We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am trying to build a previously made project in the KEIL environment using STM32F373RC. But I am getting the error "ArmClang: Error: unsupported option '--C99'"during the build phase. I am using "Compiler version 6" as ARM Compiler. Can you help with this?
As the (Arm Compiler 5) option -C99 is no more supported with Arm Compiler 6, use this option:
The Arm Compiler for Embedded Migration and Compatibility Guide confirms option -xc
"...Enables the compilation of C99 source code.
-xc
is a positional argument and only affects subsequent
input files on the command line. It is also only required if the
input files do not have the appropriate file extension."