www.digitalmars.com         C & C++   DMDScript  

c++ - [Bug?:] Bad error message?

I'm getting the error report:

H:\STLSoft\Identities\STLSoft\stlsoft\comstl_bad_interface_cast.h(151) : Error:
return type of overriding function 'std::bad_cast::what' differs from that of
It was declared as: char const *member func()const
It is now declared: char const *member func()const
Standard library is HP/SGI
--- errorlevel 1

and I can only presume that the compiler is detecting differences in exception
specifications. So, my questions are:

1. Does DMC++ detect / discriminate between overloads based on exception
2. If so, can we have an error message that makes that clear?


May 16 2004