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) C4294

C++ Exception Specification missing

This warning helps you check to see if functions explicitly specify whether they throw exceptions. This warning is off by default.

The following sample generates C4294:

#pragma warning(1: 4294)               // turn on warning C4294
void main(){                           // throw not explicit
// instead, try …
// void main() throw(){                  // does not throw
// void main() throw(...){               // throw
// void __declspec(nothrow) main() {   // use throw() instead
}