Compiler Error C3874
return type of 'function' should be 'int' instead of 'type'
A function does not have the return type that was expected by the compiler.
The following sample generates C3874:
// C3874b.cpp
double main()
{ // C3874
}
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