We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, Is it normal that EC++ won't compile properly if a variable is called "priority" or "_priority"? Example:
unsigned int priority = 1; unsigned int _priority = 1;
extern void os_init_context (P_TCB p_TCB, U8 priority, FUNCP task_body, U8 full_contxt);
Not quite. - priority, _priority and __priority are EC++ keywords. - _priority_ is a C keyword, not EC++ - priority and _priority should not be EC++ tokens, for they are used elsewhere in Keil AR166 headers, and not documented in the EC++ manual. Let me get to the point then: it would be really cool if the next version of AR166 headers could compile successfully with EC++! Rgds, Steph-