'function' : function should return a value; 'void' return type assumed
The function has no return type specified. The compiler assumes that the return type is void. To resolve the warning, explicitly declare the return type of functions. The following sample generates C4508:
func() { // C4508 } /* use the code below to resolve the warning void func() { } */ void main() { }