Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 52160 invoked from network); 6 Mar 2007 18:47:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 18:47:54 -0000 Received: (qmail 26298 invoked by uid 500); 6 Mar 2007 18:48:02 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 26285 invoked by uid 500); 6 Mar 2007 18:48:02 -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 26274 invoked by uid 99); 6 Mar 2007 18:48:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 10:48:02 -0800 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; Tue, 06 Mar 2007 10:47:51 -0800 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l26IlRxi012366 for ; Tue, 6 Mar 2007 18:47:27 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Mar 2007 11:47:14 -0700 Message-ID: <45EDB746.2090409@roguewave.com> Date: Tue, 06 Mar 2007 11:47:34 -0700 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: svn commit: r513406 - /incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp References: <20070301170108.4415A1A981A@eris.apache.org> In-Reply-To: <20070301170108.4415A1A981A@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Mar 2007 18:47:14.0247 (UTC) FILETIME=[DB471570:01C7601F] X-Virus-Checked: Checked by ClamAV on apache.org Hi Farid, I'm afraid there's a minor portability problem with this patch. faridz@apache.org wrote: > Author: faridz > Date: Thu Mar 1 09:01:07 2007 > New Revision: 513406 > > URL: http://svn.apache.org/viewvc?view=rev&rev=513406 > Log: > 2007-03-01 Farid Zaripov > > * 18.limits.traps.cpp (test_trap): New function to avoid MSVC error C2712: > Cannot use __try in functions that require object unwinding; > (test_traps) Used test_trap() function. > > Modified: > incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp > > Modified: incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp > URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp?view=diff&rev=513406&r1=513405&r2=513406 > ============================================================================== > --- incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp (original) > +++ incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp Thu Mar 1 09:01:07 2007 > @@ -83,6 +83,20 @@ > > > template > +static inline void ^^^^^^ This is causing errors with strict compilers such as HP aCC because the function is not found during argument dependent lookup. From [temp.dep.candidate], p1: For a function call that depends on a template parameter, if the function name is an unqualified-id but not a template-id, or if the function is called using operator notation, the candidate functions are found using the usual lookup rules (3.4.1, 3.4.2) except that: -- For the part of the lookup using unqualified name lookup (3.4.1), only function declarations with external linkage from the template definition context are found. Martin