Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 71579 invoked from network); 27 Aug 2009 10:41:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 10:41:04 -0000 Received: (qmail 17678 invoked by uid 500); 27 Aug 2009 10:41:04 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 17644 invoked by uid 500); 27 Aug 2009 10:41:04 -0000 Mailing-List: contact commits-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 commits@stdcxx.apache.org Received: (qmail 17634 invoked by uid 99); 27 Aug 2009 10:41:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 10:41:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 10:41:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EB2132388854; Thu, 27 Aug 2009 10:40:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r808359 - /stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h Date: Thu, 27 Aug 2009 10:40:42 -0000 To: commits@stdcxx.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090827104042.EB2132388854@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: faridz Date: Thu Aug 27 10:40:42 2009 New Revision: 808359 URL: http://svn.apache.org/viewvc?rev=808359&view=rev Log: 2009-08-27 Farid Zaripov * include/rw/_config-msvcrt.h: Disable exceptions if the macro _CPPUNWIND is not #defined by compiler. Modified: stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h Modified: stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h?rev=808359&r1=808358&r2=808359&view=diff ============================================================================== --- stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h (original) +++ stdcxx/branches/4.2.x/include/rw/_config-msvcrt.h Thu Aug 27 10:40:42 2009 @@ -134,6 +134,15 @@ #endif // _NATIVE_WCHAR_T_DEFINED +#ifndef _CPPUNWIND + // disable exceptions when the macro _CPPUNWIND + // is not #deined by the compiler, e.g., when + // the /GX- option is used +# ifndef _RWSTD_NO_EXCEPTIONS +# define _RWSTD_NO_EXCEPTIONS +# endif // _RWSTD_NO_EXCEPTIONS +#endif + #if _RWSTD_VER_MAJOR < 5 && defined (_DLL) // defined for binary compatibility with stdcxx 4.1.x // (for all versions of MSVC and Intel C++)