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
}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
}