It is great if nesc can support some of C99 and C11 reserved keywords, for instance restrict, _Noreturn, and _Bool.
While I tried the latest nesc and tinyos with the beta release of TI MSP430-GCC which is based on gcc 7.3, I noticed that restrict and _Noreturn weren't processed correctly by nesc and caused errors. I worked around errors by making those keywords as empty string. But supporting those keywords in nesc is apparently preferable.
TinyOS defines bool as uint8_t in tos.h, but defining it as _Bool may utilize further compiler optimization. nx_bool has similar definition too. So it is highly preferable for nesc to support _Bool type.
It is great if
nesccan support some of C99 and C11 reserved keywords, for instancerestrict,_Noreturn, and_Bool.While I tried the latest nesc and tinyos with the beta release of TI MSP430-GCC which is based on
gcc 7.3, I noticed thatrestrictand_Noreturnweren't processed correctly bynescand caused errors. I worked around errors by making those keywords as empty string. But supporting those keywords innescis apparently preferable.TinyOS defines
boolasuint8_tin tos.h, but defining it as_Boolmay utilize further compiler optimization.nx_boolhas similar definition too. So it is highly preferable fornescto support_Booltype.