www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.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
'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