stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r400135 - /incubator/stdcxx/trunk/tests/include/rw_char.h
Date Fri, 05 May 2006 18:37:07 GMT
Author: sebor
Date: Fri May  5 11:37:06 2006
New Revision: 400135

URL: http://svn.apache.org/viewcvs?rev=400135&view=rev
Log:
2006-05-05  Martin Sebor  <sebor@roguewave.com>

	* rw_char.h (UserTraits::n_calls_): Specified array extent in the
	declaration of the array member inside the class instead of its
	definition outside to work around a Sun C++ bug (see STDCXX-177).

Modified:
    incubator/stdcxx/trunk/tests/include/rw_char.h

Modified: incubator/stdcxx/trunk/tests/include/rw_char.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/include/rw_char.h?rev=400135&r1=400134&r2=400135&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/include/rw_char.h (original)
+++ incubator/stdcxx/trunk/tests/include/rw_char.h Fri May  5 11:37:06 2006
@@ -189,7 +189,7 @@
         };
     };
 
-    static _RWSTD_SIZE_T n_calls_ [];
+    static _RWSTD_SIZE_T n_calls_ [MemFun::n_funs];
 
     // avoid any dependency on the library
     typedef int                   off_type;     // std::streamoff
@@ -296,7 +296,7 @@
 
 template <class charT>
 _RWSTD_SIZE_T
-UserTraits<charT>::n_calls_ [UserTraits<charT>::MemFun::n_funs];
+UserTraits<charT>::n_calls_ [ /* UserTraits<charT>::MemFun::n_funs */];
 
 template <class charT>
 typename UserTraits<charT>::int_type



Mime
View raw message