stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: svn commit: r641324 - /stdcxx/trunk/tests/regress/21.string.append.stdcxx-438.cpp
Date Wed, 26 Mar 2008 16:37:06 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Wednesday, March 26, 2008 5:53 PM
> To: dev@stdcxx.apache.org
> 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.

Mime
View raw message