throw list in VS 2005

  • Thread starter Thread starter dk60
  • Start date Start date
D

dk60

I am writing an application in C++ in VS 2005. I wrote a function with
a throw list, but the compiler and the runtime seem to ignore it. tha
function can still throw an exception that does not appear in the
throw list, and the handling environment catches it just fine.
Is it possible that VS does not support throw lists? Is there
something to be configured in the project so that it does support it?
 
dk60 wrote:
:: I am writing an application in C++ in VS 2005. I wrote a function
:: with a throw list, but the compiler and the runtime seem to ignore
:: it. tha function can still throw an exception that does not appear
:: in the throw list, and the handling environment catches it just
:: fine.
:: Is it possible that VS does not support throw lists? Is there
:: something to be configured in the project so that it does support
:: it?

You are correct that exception specifications are not supported by the
compiler. Nothing we can do about that, except avoid them. :-(


Bo Persson
 
Back
Top