Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 35194 invoked from network); 8 Aug 2007 18:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 18:27:07 -0000 Received: (qmail 14312 invoked by uid 500); 8 Aug 2007 18:27:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 14251 invoked by uid 500); 8 Aug 2007 18:27:06 -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 14240 invoked by uid 99); 8 Aug 2007 18:27:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 11:27:06 -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.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 18:27:04 +0000 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l78IQgoX024021 for ; Wed, 8 Aug 2007 18:26:42 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Aug 2007 12:25:55 -0600 Message-ID: <46BA0B03.7060600@roguewave.com> Date: Wed, 08 Aug 2007 12:27:15 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. 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: 18.exception.cpp test on Cygwin References: <7BDB2168BEAEF14C98F1901FD2DE6438BB0E9C@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE6438BB0E9C@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2007 18:25:55.0685 (UTC) FILETIME=[8F394150:01C7D9E9] X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > The 18.exception.cpp test fails to compile on gcc 3.4.4/Cygwin. Do you have a suggestion for a fix? If not, can you please open an issue for the problem in Jira? Martin > > ----------- > 18.exception.cpp: In function `void test_runtime()': > 18.exception.cpp:929: error: `setjmp' is not a member of `std' > 18.exception.cpp: In function `int run_test(int, char**)': > 18.exception.cpp:1023: error: `setjmp' is not a member of `std' > ----------- > > The reason is that setjmp macro is not #defined in > /usr/include/setjmp.h and > setjmp() function not introduced in namespace std:: in > include/ansi/csetjmp. > > 18.exception.cpp file (line 66): > --------- > # ifdef setjmp > # define RW_SETJMP(env) setjmp (env) > # else > # define RW_SETJMP(env) std::setjmp (env) > # endif > --------- > > Farid.