930105_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

930105_en-US

930105_en-US

How select "Language standard"

Hello,

if I create a new SDK project (from the SDK project wizard), after selecting board and other configuration (device packages, project type, components...), I get "Advanced project settings" screen where I can select the MCU C Compiler. By default, "Language standard" points to "Compiler default", but I can choose if I want "GNU C90 (-std=gnu90).

However, if I create a new C project (not SDK), I can't see this screen and I can't choose "Language standard".

How can I change that?

Thanks.

Re: How select "Language standard"

Great breakdown on choosing the right language standard—your explanation really clears up a lot of confusion I’ve seen around this topic. While experimenting with different settings, I stumbled on some Elvish translation tips that made testing character sets a bit more fun. It’s interesting how adjusting standards can change the behavior of compilers in subtle ways. Looking forward to more posts like this!

Re: How select "Language standard"

Hi ptcaos,

If you right click in your project click in properties->C/C++ Build->Settings->MCU C Compiler->Dialect you can select the language:

pastedImage_1.png

Best Regards,
Alexis Andalon

Tags (1)
No ratings
Version history
Last update:
‎12-12-2025 04:54 AM
Updated by: