components/stdcxx/patches/093-7184739-string.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 18 Jul 2012 15:20:42 -0700
changeset 926 de73cd5d7f7c
permissions -rw-r--r--
7184739 _C_null_ref should be exported as a global symbol 7184784 stdcxx4 on S11 is incompatible with stdcxx4 on S10 - breaks forward compatibility

--- stdcxx-4.2.1/include/string	2011-05-04 12:08:04.799700400 -0700
+++ stdcxx-4.2.1/include/string	2012-07-17 17:38:04.411236200 -0700
@@ -853,7 +853,7 @@
 
 #ifndef _RWSTD_NO_COLLAPSE_TEMPLATE_STATICS
 
-    static _RW::__null_ref<_CharT, _Traits, _Allocator> _C_null_ref;
+    __global static _RW::__null_ref<_CharT, _Traits, _Allocator> _C_null_ref;
 
     static _RW::__null_ref<_CharT, _Traits, _Allocator>* _C_nullref () {
         return &_C_null_ref;