Compiler Warning (level 3) C4290
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Warning (level 3) C4290

C++ exception specification ignored except to indicate a function is not __declspec(nothrow)

A function is declared using exception specification, which Visual C++ accepts but does not implement. Code with exception specifications that are ignored during compilation may need to be recompiled and linked to be reused in future versions supporting exception specifications.

You can avoid this warning by using the warning pragma:

#pragma warning( disable : 4290 )
© 2016 Microsoft