stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r383737 - /incubator/stdcxx/trunk/etc/config/src/FUNC.cpp
Date Tue, 07 Mar 2006 01:15:57 GMT
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  <sebor@roguewave.com>

	* 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__;
+}
+



Mime
View raw message