Compiler Warning (level 1) C4716 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

'function' must return a value

The given function did not return a value.

Only functions with a return type of void can use the return command without an accompanying return value.

An undefined value will be returned when this function is called.

This warning is automatically promoted to an error. To modify this behavior, use #pragma warning. For example, to make C4716 into a level 4 warning issue,

#pragma warning(2:4716)

in your source code file.


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: