> -----Original Message-----
> From: Martin Sebor [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 26, 2008 5:53 PM
> To: [email protected]
> Subject: Re: svn commit: r641324 - 
> /stdcxx/trunk/tests/regress/21.string.append.stdcxx-438.cpp
> 
> > _RWSTD_NO_REPLACEABLE_NEW_DELETE macro is defined in 
> > <rw/_config-msvcrt> for all versions and I think it's not correct.
> 
> IIRC, on Windows replacing operator new in one executable 
> (.exe or .dll) doesn't replace it in the other executables (.exe's or
> .dll's) that the first one links with. That's probably why 
> the macro's #defined, no?

  Damn, I forgot about this feature of dynamic libraries on Windows.
Sure, we can't use the replacement new/delete operators in shared builds
on MSVC and ICC/Windows.

Farid.

Reply via email to