You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/03/07 02:15:57 UTC

svn commit: r383737 - /incubator/stdcxx/trunk/etc/config/src/FUNC.cpp

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  <se...@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__;
+}
+