Hi,
For Kinetis, 2 build tool chains are available under MCU V10.6:
- Freescale,
- GCC.
According to the \CW MCU v10.6\MCU\Help\PDF\MCU_Kinetis_Compiler.pdf manual for Freescale tool, the Syntax is #pragma c99 on | off | reset
For instance:
#pragma c99 on
According to the \CW MCU v10.6\MCU\Help\PDF\MCU_Kinetis_GCC.pdf manual for GCC tool, C99 can not be used through a pragma.
Under propject properties for the language Standard you can select ISO C99 option.
The option can be define by #define C99.
For details I recommend you to:
- check the build tool chain used (it seems to be the GCC),
- perform a search for C99 in the corresponding compiler manual.
Hope this will help you.
Have a great day,
Pascal Irrle
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------