Issues a warning when a function that returns a value is missing a return statement.
#pragma warn_missingreturn on | off | reset
An example is shown in the following listing.
#pragma warn_missingreturn on int foo() { // no return statement in foo() } // generates a warning: return value expected
This pragma corresponds to the Missing `return' Statements option in the Language panel. To check this setting, use __option(warn_missingreturn), described in Checking Pragma Settings.
By default, this pragma is set to the same value as __option(extended_errorcheck).