Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 85234 invoked from network); 22 Jun 2007 16:35:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jun 2007 16:35:02 -0000 Received: (qmail 68250 invoked by uid 500); 22 Jun 2007 16:35:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 68232 invoked by uid 500); 22 Jun 2007 16:35:05 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 68221 invoked by uid 99); 22 Jun 2007 16:35:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 09:35:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 09:35:00 -0700 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l5MGYdW7018174 for ; Fri, 22 Jun 2007 16:34:39 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Jun 2007 10:33:19 -0600 Message-ID: <467BFAAF.6000206@roguewave.com> Date: Fri, 22 Jun 2007 10:37:03 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: svn commit: r549766 - in /incubator/stdcxx/trunk: examples/manual/rwexcept.cpp include/rw/_error.h src/exception.cpp References: <20070622101553.2DD041A981A@eris.apache.org> <467BECBE.4040908@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE64389D6972@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64389D6972@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jun 2007 16:33:19.0263 (UTC) FILETIME=[0AAAD2F0:01C7B4EB] X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: >> -----Original Message----- >> From: Martin Sebor [mailto:sebor@roguewave.com] >> Sent: Friday, June 22, 2007 6:38 PM >> To: stdcxx-dev@incubator.apache.org >> Subject: Re: svn commit: r549766 - in >> /incubator/stdcxx/trunk: examples/manual/rwexcept.cpp >> include/rw/_error.h src/exception.cpp >> > > [...] > >> From 7.1.2, p4: "If a function with external linkage is >> declared inline in one translation unit, it shall be declared >> inline in all translation units in which it appears; no >> diagnostic is required." >> >> Also, I think the convention used in the rest of the code is >> to put _RWSTD_EXPORT before the return type of the function, >> but you might want to double-check that. Either way, it >> should be consistent between the declaration and the >> definition of the function. > > Done: http://svn.apache.org/viewvc?view=rev&rev=549862 Sorry, this violates the last sentence of 3.2, p3: An inline function shall be defined in every translation unit in which it is used. Martin