Compiler Error C2199
syntax error : found 'identifier (' at global scope (was a declaration intended?)
The specified context caused a syntax error. There may be incorrect declaration syntax.
The following sample generates C2199:
// C2199.cpp
// compile with: /c
int j = int(1) int(1); // C2199
int j = 1; // OK
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for