Author: faridz Date: Tue Oct 14 00:53:13 2008 New Revision: 704366 URL: http://svn.apache.org/viewvc?rev=704366&view=rev Log: 2008-10-14 Martin Sebor <[EMAIL PROTECTED]>
* include/rw/_specialized.h (uninitialized_copy): avoid const-qualifying ptr to prevent an HP aCC 3 bug (see STDCXX-1021). Modified: stdcxx/branches/4.2.x/include/rw/_specialized.h Modified: stdcxx/branches/4.2.x/include/rw/_specialized.h URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_specialized.h?rev=704366&r1=704365&r2=704366&view=diff ============================================================================== --- stdcxx/branches/4.2.x/include/rw/_specialized.h (original) +++ stdcxx/branches/4.2.x/include/rw/_specialized.h Tue Oct 14 00:53:13 2008 @@ -171,7 +171,8 @@ _TRY { for (; __first != __last; ++__first, ++__res) { - volatile void* const __ptr = + // avoid const-qualifying ptr to prevent an HP aCC 3 bug + volatile void* /* const */ __ptr = _RWSTD_STATIC_CAST (volatile void*, &*__res); ::new (_RWSTD_CONST_CAST (void*, __ptr)) _TypeT (*__first); }