Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 504 Bytes

compiler-error-c2160.md

File metadata and controls

22 lines (18 loc) · 504 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2160
Compiler Error C2160
11/04/2016
C2160
C2160
a1f694a7-fb16-4437-b7f5-a1af6da94bc5

Compiler Error C2160

'##' 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