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/05/05 20:37:07 UTC
svn commit: r400135 - /incubator/stdcxx/trunk/tests/include/rw_char.h
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 <se...@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