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: r553587 - /incubator/stdcxx/trunk/tests/self/0.new.cpp
Date Thu, 19 Jul 2007 08:20:25 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
> Sent: Wednesday, July 18, 2007 7:12 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: svn commit: r553587 - 
> /incubator/stdcxx/trunk/tests/self/0.new.cpp
> 
> >   No, because of _config-msvcrt.h, line 151:
> > 
> >    // operator new and delete is not reliably replaceable across
> >    // shared library boundaries, which includes the shared library
> >    // version of the language support library #define 
> > _RWSTD_NO_REPLACEABLE_NEW_DELETE
> > 
> >   Shall we install SIGSEGV signal handler only if 
> > _RWSTD_NO_REPLACEABLE_NEW_DELETE macro is #defined ?
> 
> Right. Then the test for the replacement operator new should 
> be guarded by the macro, shouldn't it?

  I think it should, but then the all 0.new.cpp test should be guarded
by the macro,
because of all test cases in this test are excercising the replacement
new/delete operators:

/***********************************************************************
****
 *
 * 0.new.cpp - test exercising replacement operator new and delete

Farid.

Mime
View raw message