From dev-return-7138-apmail-stdcxx-dev-archive=stdcxx.apache.org@stdcxx.apache.org Tue Mar 25 23:14:00 2008 Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 17447 invoked from network); 25 Mar 2008 23:14:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 23:14:00 -0000 Received: (qmail 2735 invoked by uid 500); 25 Mar 2008 23:13:59 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 2669 invoked by uid 500); 25 Mar 2008 23:13:59 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 2660 invoked by uid 99); 25 Mar 2008 23:13:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 16:13:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 23:13:19 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m2PNDTi5006315 for ; Tue, 25 Mar 2008 23:13:29 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [STDCXX-709] ContainerData ctor and UserClass::from_char() Date: Tue, 25 Mar 2008 17:13:55 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [STDCXX-709] ContainerData ctor and UserClass::from_char() Thread-Index: AciN+B6InyJPhmJrRL2DY0i+qFmByQA0+oBA References: <47E42941.8040704@roguewave.com> <47E44038.5090404@roguewave.com> <47E82005.50006@roguewave.com> From: "Eric Lemings" To: X-Virus-Checked: Checked by ClamAV on apache.org =20 > -----Original Message----- > From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor > Sent: Monday, March 24, 2008 3:41 PM > To: dev@stdcxx.apache.org > Subject: Re: [STDCXX-709] ContainerData ctor and=20 > UserClass::from_char() >=20 ... > try to create a small test case reproducing it. I.e., create an > archive lib that allocates memory using the new expression and > a program that replaces operators new and delete, links with the > library and attempts to deallocate the memory allocated by the > library. See if the right operators are being called. I created a simple little test case. http://people.apache.org/~elemings/test02.tar.gz It works as it should on both platforms. I also created a little test case in trunk/tests/containers that links to the rwtest static library: #include #include int main () { UserClass* uc =3D UserClass::from_char("ab", 2); return 0; } This test case exhibits the same problem in STDCXX-709. It has something to do with the trunk/include/rw/_new.h header but I'm still not sure exactly what the problem is. Brad.