I am having a app code written in C++,this code was written using VS 2003 IDE.This code was in working condition .Now I have upgraded it to the VS 2008 using MS VS upgradation wizard.When I compiled the source it thrown error as -
Error 2 error C2504: 'exception' : base class undefined ~\Mdlexception.h 10 MdlCommon
&
Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ~\log.h 61 MdlCommon
Please let me know cause of this error & solution.
You don't need to derive from std::exception to define new exception types. Any type can be thrown.
By the way, I'm surprised VC++ 2003 compiled that without error.