description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C2160 |
Compiler Error C2160 |
11/04/2016 |
|
|
a1f694a7-fb16-4437-b7f5-a1af6da94bc5 |
'##' cannot occur at the beginning of a macro definition
A macro definition began with a token-pasting operator (##).
The following sample generates C2160:
// C2160.cpp
// compile with: /c
#define mac(a,b) #a // OK
#define mac(a,b) ##a // C2160