C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
C2562
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2562
 
     'identifier' : void function returning a value
 
     The indicated function was declared as a void function but
     returned a value.
 
     This error can be caused by an incorrect function prototype.
     If the function returns a value, the return type must be specified
     in the function declaration.
                                    -♦-