Hi Team,
From forums I have noticed that ChibiOS use C99 standard however I have noticed AVR arch making use of C11( os/common/ports/AVR/compilers/GCC/rules.mk line 62 says CSTANDARD = -std=gnu11 .
My doubt is whether it's okay to mix C99 and C11 code?
Regards,
Aksha M
C11 Compatibility in Chibi OS
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: C11 Compatibility in Chibi OS
Hi,
There is nothing intrinsically incompatible with C11, C99 is meant to be the "minimum". A full switch to C11 is possible in the future, at least for some modules.
Please report a bug if you see incompatibilities to be addressed.
Giovanni
There is nothing intrinsically incompatible with C11, C99 is meant to be the "minimum". A full switch to C11 is possible in the future, at least for some modules.
Please report a bug if you see incompatibilities to be addressed.
Giovanni
Who is online
Users browsing this forum: No registered users and 45 guests