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.
Hi,
I get errors compiling these macros:
#define MYMACRO(name, service_name, ...) \ static struct service_name name##_interface = __VA_ARGS__ ; \ struct service name = { NULL, NULL, service_name##_name, & name##_interface } #endif
The errors are: C301: identifier expected C301: identifier expected C304: bad macro parameter list
Does the C51 support variable arguments in macros? If not, any work arounds?
Regards, Umar
Is C99 yet the "prevalent" version in the market?
Particularly in the 8051-class market?