Hi,
I get a error C141: syntax error near ';'
with the following code:
struct process { struct process *next; const char *name; }; #define AMACRO(name, strname) \ struct process name = { NULL, strname }; AMACRO(my_process, "HELLO");
This seems to compile neatly on MS VC++ and gcc.
Regards, Umar