-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels