NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 1) C4508

'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() {

}