www.digitalmars.com         C & C++   DMDScript  

c++ - [bug] Exception-specification mismatch error lacking in information

reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
H:\STLSoft\Identities\STLSoft\stlsoft\stlsoft_exceptions.h(126) : Error: return
type of overriding function
'std::exception::what' differs from that of 'stlsoft
::os_exception::what'
It was declared as: char const *member func()const
It is now declared: char const *member func()const
--- errorlevel 1

I *know* that this is due to exception-specification mismatch, but there's
nothing in the message that lets me know
that.
Sep 07 2004
parent "Matthew" <matthew hat.stlsoft.dot.org> writes:
Any movement on this?

"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:chlcnp$b5$1 digitaldaemon.com...
 H:\STLSoft\Identities\STLSoft\stlsoft\stlsoft_exceptions.h(126) : Error:
return type of overriding function
 'std::exception::what' differs from that of 'stlsoft
 ::os_exception::what'
 It was declared as: char const *member func()const
 It is now declared: char const *member func()const
 --- errorlevel 1

 I *know* that this is due to exception-specification mismatch, but there's
nothing in the message that lets me know
 that.
Sep 11 2005