stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r616003 - /stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.cpp
Date Tue, 29 Jan 2008 15:55:46 GMT
Farid Zaripov wrote:
>> -----Original Message-----
>> From: Martin Sebor [mailto:sebor@roguewave.com] 
>> Sent: Monday, January 28, 2008 10:26 PM
>> To: dev@stdcxx.apache.org
>> Subject: Re: svn commit: r616003 - 
>> /stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.cpp
>>
>> Should we do this in <rw_new.h> (or new.cpp, on the first 
>> call to operator new or operator delete) instead?
> 
>   Earlier
> (http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg03761.ht
> ml)
> I proposed to convert MSVC CRT debug reports along with invalid
> parameter checking
> reports to the rw_xxx() reports.

I (vaguely) remember discussing this. For the memory errors,
I thing rw_error() or even rw_fatal() makes sense.

> 
>   Or we can just print the report message into stderr, to not count
> these reports
> as other usual rw_errors and rw_asserts.

That would be another option. Although we should probably
abort on memory corruption errors.

Martin

> 
> Farid.


Mime
View raw message