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
}
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for