c++ - [Bug?:] Bad error message?
- "Matthew" <matthew.hat stlsoft.dot.org> May 16 2004
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 'stlsoft::comstl_project::bad_interface_cast::what' 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 specifications 2. If so, can we have an error message that makes that clear? Cheers Matthew
May 16 2004