Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 938 Bytes

compiler-warning-level-4-c4932.md

File metadata and controls

24 lines (20 loc) · 938 Bytes
title description ms.date f1_keywords helpviewer_keywords ms.assetid
Compiler Warning (level 4) C4932
Describes Microsoft C/C++ compiler warning C4932.
08/25/2020
C4932
C4932
0b8d88cc-21f6-45cb-a9f5-1795b7db0dfa

Compiler Warning (level 4) C4932

__identifier(identifier_1) and __identifier(identifier_2) 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:

// C4932.cpp
// compile with: /clr /W4 /WX
int main() {
   int __identifier(_finally) = 245;   // C4932
   int __identifier(__finally) = 25;   // C4932
}