ie I’ve failed to provide return a value. I’ve just spent ages attempting to debug the problem, before spotting the obvious. Why doesn’t the compiler pick up the missing return?
Depends on your warning level just like with gcc, if I recall correctly.
Hi,
In MSVS it’s an error not a warning. I always use default levels: Warning level 3, no warning —> error translation. The MS compilers throw errors for such constructs.