components/stdcxx/patches/029-FUNC.cpp.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 16 Jun 2016 20:28:32 -0700
changeset 6235 309c116f1e44
parent 402 94ae4d75524c
permissions -rw-r--r--
Close of build 102.

--- stdcxx-4.2.1/etc/config/src/FUNC.cpp	2008-04-24 20:25:44.000000000 -0400
+++ stdcxx-4.2.1/etc/config/src/FUNC.cpp	2009-03-27 22:36:07.136083000 -0400
@@ -25,6 +25,10 @@
 // 6.4.2.2, p1 of C99
 const char* func_test ()
 {
+#if defined(__SUNPRO_CC)
+#error "__func__ is broken in __SUNPRO_CC"
+#else
     return __func__;
+#endif
 }