Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 95307 invoked from network); 25 May 2009 16:26:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 May 2009 16:26:42 -0000 Received: (qmail 27300 invoked by uid 500); 25 May 2009 16:26:55 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 27251 invoked by uid 500); 25 May 2009 16:26:55 -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 27241 invoked by uid 99); 25 May 2009 16:26:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2009 16:26:55 +0000 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: domain of msebor@gmail.com designates 209.85.222.193 as permitted sender) Received: from [209.85.222.193] (HELO mail-pz0-f193.google.com) (209.85.222.193) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2009 16:26:46 +0000 Received: by pzk31 with SMTP id 31so2101894pzk.27 for ; Mon, 25 May 2009 09:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WGK9RxmSV7fD4S4xpqKFIGD/t61W3HHsHS3g54DuXM4=; b=xrdeZYCIqHjPZPPN00U8Mmvgyz7oBBRNQzZlv3vQOO8RieMJVjx+SYy0oxZubzpdsp TDIVfypkDS5Rp8grk+Wc23Ecb5wmmqtI7G18NSziZv1HymMY850bKR5ekHMasHDYN92A pjc7/120uYB2IXGK/96v0QgrcpZHfToaNNBRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=SB8JX1KNHuu8R19nR/+ib2VUtrNtQ1X/9wsGW18koyJHZ2HnY7FbLUEk9ERmKdvWAU S7uQoUBDAGKMrSlyISq08QSL0V+vYbqqfvA+GMbZyJbacf88XJR4jyUNCZHaF2veo0Kg 49q5ZDDesyqekPWGVPxbsUqAd/GB2tZvHZIEM= Received: by 10.142.188.12 with SMTP id l12mr1981898wff.234.1243268786012; Mon, 25 May 2009 09:26:26 -0700 (PDT) Received: from localhost.localdomain (c-71-229-200-170.hsd1.co.comcast.net [71.229.200.170]) by mx.google.com with ESMTPS id 20sm667545wfi.0.2009.05.25.09.26.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 May 2009 09:26:24 -0700 (PDT) Message-ID: <4A1AC6AB.1040804@gmail.com> Date: Mon, 25 May 2009 10:26:19 -0600 From: Martin Sebor User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: svn commit: r777603 - in /stdcxx/branches/4.2.x: etc/config/src/ src/ References: <90C3E83D28FD45A1AEC9F848CC80E68B@kyiv.epam.com> In-Reply-To: <90C3E83D28FD45A1AEC9F848CC80E68B@kyiv.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: >> Why do we need this and the other tests? > > I've got the MSVC 10.0 beta recently and I prepairing the stdcxx > for this compiler. > >> I'm pretty sure you know this but just for completeness: >> > [...] >> If there is a compiler that we need _RWSTD_NO_DOMAIN_ERROR_DTOR for, >> won't we also need a macro for every single one of the rest of C++ >> Standard Library polymorphic classes such as std::ios_base? > > Actually, the MSVC 10.0 beta libc contains dtor's for std::length_error > and std::logic_error only (at least in 15s configuration which I've tested). > It is still beta for now, but I believe that these dtors will go to the > release. > > Or should I fill the bug report to Microsoft on that issue? That would be great, thanks! With dtors for arbitrary C++ Standard Library in their libc there's no way to build/use a third party implementation such as stdcxx. Imagine one of the dtors doing something to the class, e.g.: class length_error: runtime_error { // MSVC 10 definition char* data; public: virtual ~length_error () { delete[] data; } // ... } Martin > > Best Regards, > Farid Zaripov >