Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 46476 invoked from network); 4 Jan 2009 22:07:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2009 22:07:38 -0000 Received: (qmail 97851 invoked by uid 500); 4 Jan 2009 22:07:38 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 97830 invoked by uid 500); 4 Jan 2009 22:07:38 -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 97821 invoked by uid 99); 4 Jan 2009 22:07:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 14:07:38 -0800 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; Sun, 04 Jan 2009 22:07:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D8198238899E; Sun, 4 Jan 2009 14:07:07 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r731374 - in /stdcxx/branches/4.2.x/tests/src: file.cpp locale.cpp Date: Sun, 04 Jan 2009 22:07:07 -0000 To: commits@stdcxx.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090104220707.D8198238899E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Sun Jan 4 14:07:07 2009 New Revision: 731374 URL: http://svn.apache.org/viewvc?rev=731374&view=rev Log: 2009-01-04 Martin Sebor STDCXX-1029 * tests/src/file.cpp [__linux__ && 4 == __GNUC__ && 3 == __GNUC_MINOR__] (__wur): #defined to an empty comment to work around gcc 4.3.1 bug 37405: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 * tests/src/locale.cpp: Ditto. Modified: stdcxx/branches/4.2.x/tests/src/file.cpp stdcxx/branches/4.2.x/tests/src/locale.cpp Modified: stdcxx/branches/4.2.x/tests/src/file.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/src/file.cpp?rev=731374&r1=731373&r2=731374&view=diff ============================================================================== --- stdcxx/branches/4.2.x/tests/src/file.cpp (original) +++ stdcxx/branches/4.2.x/tests/src/file.cpp Sun Jan 4 14:07:07 2009 @@ -32,6 +32,12 @@ #include #ifdef _RWSTD_OS_LINUX +# if 4 == __GNUC__ && 3 == __GNUC_MINOR__ + // work around gcc bug 37405 + // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 +# define __wur /* empty */ +# endif // gcc 4.3 + # ifdef _RWSTD_NO_PURE_C_HEADERS // on Linux define _XOPEN_SOURCE to get CODESET defined in // (avoid this hackery when using pure "C' headers (i.e., with the EDG Modified: stdcxx/branches/4.2.x/tests/src/locale.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/src/locale.cpp?rev=731374&r1=731373&r2=731374&view=diff ============================================================================== --- stdcxx/branches/4.2.x/tests/src/locale.cpp (original) +++ stdcxx/branches/4.2.x/tests/src/locale.cpp Sun Jan 4 14:07:07 2009 @@ -29,6 +29,11 @@ // expand _TEST_EXPORT macros #define _RWSTD_TEST_SRC +#if defined __linux__ && 4 == __GNUC__ && 3 == __GNUC_MINOR__ + // work around gcc bug 37405 + // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 +# define __wur /* empty */ +#endif // gcc 4.3 on Linux #include #include // for rw_putenv()