> -----Original Message-----l > From: Martin Sebor [mailto:[email protected]] > Sent: Wednesday, August 26, 2009 1:02 AM > To: [email protected] > Subject: Re: svn commit: r777603 - in /stdcxx/branches/4.2.x: > etc/config/src/ src/ > > I'm not sure I understand what they are proposing we do in > the MSVC bug report. Do you?
As I understand they are telling that if std::length_error dtor is defined in application, in this case the application will be linked without errors and overridden std::length_error dtor will be used. In our case the std::length_error dtor is defined in library, that's why linker issues the "multiple symbols defined" error. To avoid this error we can define std::length_error dtor as inline, to define it in user's application and override the dtor from libc. Farid.
