From stdcxx-commits-return-515-apmail-incubator-stdcxx-commits-archive=incubator.apache.org@incubator.apache.org Tue Mar 07 01:16:23 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 87649 invoked from network); 7 Mar 2006 01:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 01:16:23 -0000 Received: (qmail 10670 invoked by uid 500); 7 Mar 2006 01:16:19 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 10586 invoked by uid 500); 7 Mar 2006 01:16:19 -0000 Mailing-List: contact stdcxx-commits-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-commits@incubator.apache.org Received: (qmail 10512 invoked by uid 500); 7 Mar 2006 01:16:18 -0000 Delivered-To: apmail-incubator-stdcxx-cvs@incubator.apache.org Received: (qmail 10486 invoked by uid 99); 7 Mar 2006 01:16:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 17:16:18 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 17:16:18 -0800 Received: (qmail 87063 invoked by uid 65534); 7 Mar 2006 01:15:57 -0000 Message-ID: <20060307011557.87043.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383737 - /incubator/stdcxx/trunk/etc/config/src/FUNC.cpp Date: Tue, 07 Mar 2006 01:15:57 -0000 To: stdcxx-cvs@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Mon Mar 6 17:15:55 2006 New Revision: 383737 URL: http://svn.apache.org/viewcvs?rev=383737&view=rev Log: 2006-03-06 Martin Sebor * FUNC.cpp (__func__): Moved to function scope to avoid an XLC++ 8.0 ICE (PMR 02238). Modified: incubator/stdcxx/trunk/etc/config/src/FUNC.cpp Modified: incubator/stdcxx/trunk/etc/config/src/FUNC.cpp URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/src/FUNC.cpp?rev=383737&r1=383736&r2=383737&view=diff ============================================================================== --- incubator/stdcxx/trunk/etc/config/src/FUNC.cpp (original) +++ incubator/stdcxx/trunk/etc/config/src/FUNC.cpp Mon Mar 6 17:15:55 2006 @@ -1,4 +1,8 @@ // checking the __func__ special macro // 6.4.2.2, p1 of C99 -const char *func = __func__; +const char* func_test () +{ + return __func__; +} +