Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 52225 invoked from network); 8 Aug 2007 19:03:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 19:03:31 -0000 Received: (qmail 74969 invoked by uid 500); 8 Aug 2007 19:03:30 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 74910 invoked by uid 500); 8 Aug 2007 19:03:30 -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 74899 invoked by uid 99); 8 Aug 2007 19:03:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 12:03:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 19:03:24 +0000 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: 18.exception.cpp test on Cygwin Date: Wed, 8 Aug 2007 22:03:04 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE6438C91418@epmsa009.minsk.epam.com> In-Reply-To: <46BA0B03.7060600@roguewave.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 18.exception.cpp test on Cygwin Thread-Index: AcfZ6dMKqMrbl/ogRF6BV6cTq/yCpQAA91rQ References: <7BDB2168BEAEF14C98F1901FD2DE6438BB0E9C@epmsa009.minsk.epam.com> <46BA0B03.7060600@roguewave.com> From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com]=20 > Sent: Wednesday, August 08, 2007 9:27 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: 18.exception.cpp test on Cygwin >=20 > Farid Zaripov wrote: > > The 18.exception.cpp test fails to compile on gcc 3.4.4/Cygwin. >=20 > Do you have a suggestion for a fix? I see 3 possible ways: 1) fix only 18.exception.cpp test to use ::setjmp() instead of std::setjmp() (#including instead of ) 2) in our ansi/csetjmp header file add checking and #defining setjmp macro: #ifndef setjmp #define setjmp(env) setjmp (env) #endif 3) check for presence of setjmp() function using new /etc/src/SETJMP.cpp file and introduce it in std namespace in our ansi/csetjmp header file: #ifndef _RWSTD_NO_SETJMP namespace std { using ::setjmp; } // namespace std #endif Farid.