Compiler Error C2094
label 'identifier' was undefined
The label used by a goto statement does not exist in the function.
Example
The following sample generates C2094:
// C2094.c
int main() {
goto test;
} // C2094
Possible resolution:
// C2094b.c
int main() {
goto test;
test:
{
}
}
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