Compiler Error C2161

'##' cannot occur at the end of a macro definition

A macro definition ended with a token-pasting operator (##), as in:

#define mac(a,b) a##    // error