Pádraig Brady wrote:
Well the ; is needed in C++ but optional in C.
I was worried about users leaving out the ; by mistake
and not noticing in the normal case of compiling in C.

But then the other case should be "# define _GL_UNUSED_LABEL ;", no? Otherwise a semicolon would be appended sometimes but not others, which cannot be right.

My experience is that macros whose expansion ends in ";" tend to cause confusion, so I'd rather omit the ";" in both cases. But if it's going to be added in the "if" it should also be added in the "else".

Reply via email to