Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 4) C4932

__identifier(identifier) and __identifier(identifier) are indistinguishable

The compiler is unable to distinguish between _finally and __finally or __try and _try as a parameter passed to __identifier. You should not attempt to use them both as identifiers in the same program, as it will result in a C2374 error.

The following sample generates C4932 and a C2374 error:

// C4932.cpp
// compile with: /clr /W4 /WX
#using <mscorlib.dll>
int main() {
   int __identifier(_finally) = 245;   // C4932
   int __identifier(__finally) = 25;   // C4932
}
Show:
© 2015 Microsoft