description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C2147 |
Compiler Error C2147 |
11/04/2016 |
|
|
d1adb3bf-7ece-4815-922c-ad7492fb6670 |
syntax error : 'identifier' is a new keyword
An identifier was used that is now a reserved keyword in the language.
The following sample generates C2147:
// C2147.cpp
// compile with: /clr
int main() {
int gcnew = 0; // C2147
int i = 0; // OK
}