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 }