RAD Studio
ContentsIndex
PreviousUpNext
W8070: Function should return a value (C++)

(Command-line option to suppress warning: -w-rvl

This function was declared (maybe implicitly) to return a value. 

The compiler found a return statement without a return value, or it reached the end of the function without finding a return statement. 

Either return a value or change the function declaration to return void.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!