Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
1,556 Views

Replace C90 to C99 compiler in Intel® System Studio for Microcontrollers

Jump to solution

Hi Intel,

Is there option to replace C90 to C99 compiler in Intel uC Studio? Do you support it?

Kind regards,

Bartosz

avijit.M

AdrianBurns

0 Kudos

Accepted Solutions
Highlighted
Employee
28 Views

Bartosz,

The default mode for C in GCC 5 release series (in ISSM) is gnu11 (C11). So wondering where C90 comes from. Why are you looking to move to C99?

Thanks,

View solution in original post

0 Kudos
3 Replies
Highlighted
Employee
29 Views

Bartosz,

The default mode for C in GCC 5 release series (in ISSM) is gnu11 (C11). So wondering where C90 comes from. Why are you looking to move to C99?

Thanks,

View solution in original post

0 Kudos
Highlighted
Novice
28 Views

Hi,

I have the same problem and noticed this flag while compiling sources:

i586-intel-elfiamcu-gcc -DPRINTF_ENABLE -DPUTS_ENABLE -O0 -g -DDEBUG -std=c90 -Wall ...

is it possible to set this flag to c99?

Thanks, Bartek

avijit.M

AdrianBurns

0 Kudos
Highlighted
Novice
28 Views

Hi,

Problem solved. You need to change flag in base.mk file:

CFLAGS += -std=c90 -Wall -Wextra -Werror -Wno-unused-parameter

to

CFLAGS += -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter

And there is no option to add, modify compiler settings via ISSM environment...

Regards,

Bartosz

avijit.M

AdrianBurns