stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: [HPUX/aCC] build failure: 22.locale.money.put
Date Thu, 13 Mar 2008 19:24:15 GMT
Eric Lemings wrote:
> Well here's the build output:
> 

There's a lot of noise here. This is the problem:

"/work/stdcxx/trunk.twister/include/string.cc", line 655: error #2171:
invalid type conversion
                       &_RWSTD_STATIC_CAST (const_reference, *__first2);
                        ^

As Travis noted in his comments on the change, the cast is probably
unsafe. I haven't looked at it very carefully but the (reinterpret)
cast was also what bothered me about the original patch and I'm not
much happier with the static cast in the latest version. Let's see
what Farid has to say/do about it.

Martin

> -----
> $ uname -a
> HP-UX twister B.11.31 U ia64 3417177861 unlimited-user license
> $ aCC --version
> aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> ...
> aCC -c  -D_RWSTDDEBUG   -mt -I/work/stdcxx/trunk.twister/include
> -I/build/stdcxx/include -I/work/stdcxx/trunk.twister/tests/include  -AA
> -g +d  +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261
> +W2340 +W2401 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255
> +W4272 +W4284 +W4285 +W4286
> /work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1904: remark
> #4230-D: 64 bit migration: conversion from "long *" to "int *" may cause
> target of pointers to have a different size
>       return __rw_atomic_preincrement (_RWSTD_REINTERPRET_CAST (int&,
> __x),
>                                        ^
> 
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1911: remark
> #4230-D: 64 bit migration: conversion from "unsigned long *" to "int *"
> may cause target of pointers to have a different size
>       return __rw_atomic_preincrement (_RWSTD_REINTERPRET_CAST (int&,
> __x),
>                                        ^
> 
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1918: remark
> #4230-D: 64 bit migration: conversion from "long *" to "int *" may cause
> target of pointers to have a different size
>       return __rw_atomic_predecrement (_RWSTD_REINTERPRET_CAST (int&,
> __x),
>                                        ^
> 
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1925: remark
> #4230-D: 64 bit migration: conversion from "unsigned long *" to "int *"
> may cause target of pointers to have a different size
>       return __rw_atomic_predecrement (_RWSTD_REINTERPRET_CAST (int&,
> __x),
>                                        ^
> 
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1932: remark
> #4230-D: 64 bit migration: conversion from "long *" to "int *" may cause
> target of pointers to have a different size
>       return __rw_atomic_exchange (_RWSTD_REINTERPRET_CAST (int&, __x),
>                                    ^
> 
> "/work/stdcxx/trunk.twister/include/rw/_mutex.h", line 1941: remark
> #4230-D: 64 bit migration: conversion from "unsigned long *" to "int *"
> may cause target of pointers to have a different size
>       return __rw_atomic_exchange (_RWSTD_REINTERPRET_CAST (int&, __x),
>                                    ^
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 130: remark
> #4296-D: arithmetic operation on boolean type
>           - !__dint - !!__fd - (__dint > 0 ? __dint : -__dint) - __fd
>             ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=char, _OutputIter=char *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=char, _OutputIter=char *]" at line 69 of
> "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 130: remark
> #4296-D: arithmetic operation on boolean type
>           - !__dint - !!__fd - (__dint > 0 ? __dint : -__dint) - __fd
>                       ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=char, _OutputIter=char *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=char, _OutputIter=char *]" at line 69 of
> "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 131: remark
> #4296-D: arithmetic operation on boolean type
>           - (   money_base::space == __fmat.field [1]
>             ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=char, _OutputIter=char *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=char, _OutputIter=char *]" at line 69 of
> "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 130: remark
> #4296-D: arithmetic operation on boolean type
>           - !__dint - !!__fd - (__dint > 0 ? __dint : -__dint) - __fd
>             ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=wchar_t, _OutputIter=wchar_t *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=wchar_t, _OutputIter=wchar_t *]" at line 64
> of "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
>             instantiation of "std::money_put<_CharT,
> _OutputIter>::money_put(unsigned long) [with _CharT=wchar_t,
> _OutputIter=wchar_t *]" at line 171 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "MoneyPut<charT>::MoneyPut() [with
> charT=wchar_t]" at line 276 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 130: remark
> #4296-D: arithmetic operation on boolean type
>           - !__dint - !!__fd - (__dint > 0 ? __dint : -__dint) - __fd
>                       ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=wchar_t, _OutputIter=wchar_t *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=wchar_t, _OutputIter=wchar_t *]" at line 64
> of "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
>             instantiation of "std::money_put<_CharT,
> _OutputIter>::money_put(unsigned long) [with _CharT=wchar_t,
> _OutputIter=wchar_t *]" at line 171 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "MoneyPut<charT>::MoneyPut() [with
> charT=wchar_t]" at line 276 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/loc/_money_put.cc", line 131: remark
> #4296-D: arithmetic operation on boolean type
>           - (   money_base::space == __fmat.field [1]
>             ^
>           detected during:
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::_C_put(_OutputIter, int, std::ios_base &, _CharT, const
> _CharT *, unsigned long, int, const char *, unsigned long) const [with
> _CharT=wchar_t, _OutputIter=wchar_t *]" at line 322
>             instantiation of "_OutputIter std::money_put<_CharT,
> _OutputIter>::do_put(_OutputIter, bool, std::ios_base &, _CharT, long
> double) const [with _CharT=wchar_t, _OutputIter=wchar_t *]" at line 64
> of "/work/stdcxx/trunk.twister/include/loc/_money_put.h"
>             instantiation of "std::money_put<_CharT,
> _OutputIter>::money_put(unsigned long) [with _CharT=wchar_t,
> _OutputIter=wchar_t *]" at line 171 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "MoneyPut<charT>::MoneyPut() [with
> charT=wchar_t]" at line 276 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/string.cc", line 643: remark
> #4271-D: type conversion may lose sign
>                                        *__first2++);
>                                        ^
>           detected during:
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::__replace_aux(__rw::__rw_debug_iter<std::basic_string<_Char
> T, _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 517
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter, void
> *) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 614 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 189 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator>::basic_string(_InputIter, _InputIter, const _Allocator &)
> [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 353 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/string.cc", line 655: error #2171:
> invalid type conversion
>                       &_RWSTD_STATIC_CAST (const_reference, *__first2);
>                        ^
>           detected during:
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::__replace_aux(__rw::__rw_debug_iter<std::basic_string<_Char
> T, _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 517
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter, void
> *) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 614 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 189 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator>::basic_string(_InputIter, _InputIter, const _Allocator &)
> [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 353 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/string.cc", line 662: remark
> #4271-D: type conversion may lose sign
>                           traits_type::assign (*(__tmp + __d),
> *__first2++);
>                                                                ^
>           detected during:
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::__replace_aux(__rw::__rw_debug_iter<std::basic_string<_Char
> T, _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 517
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter, void
> *) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 614 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 189 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator>::basic_string(_InputIter, _InputIter, const _Allocator &)
> [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 353 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/string.cc", line 678: remark
> #4271-D: type conversion may lose sign
>                                            *__first2++);
>                                            ^
>           detected during:
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::__replace_aux(__rw::__rw_debug_iter<std::basic_string<_Char
> T, _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 517
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter, void
> *) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 614 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 189 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator>::basic_string(_InputIter, _InputIter, const _Allocator &)
> [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 353 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> "/work/stdcxx/trunk.twister/include/string.cc", line 548: remark
> #4271-D: type conversion may lose sign
>           traits_type::assign (*__first3, *__first2);
>                                           ^
>           detected during:
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter, void
> *) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 614 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator> &std::basic_string<_CharT, _Traits,
> _Allocator>::replace(__rw::__rw_debug_iter<std::basic_string<_CharT,
> _Traits, _Allocator>, _Allocator::pointer, _Allocator::pointer>,
> __rw::__rw_debug_iter<std::basic_string<_CharT, _Traits, _Allocator>,
> _Allocator::pointer, _Allocator::pointer>, _InputIter, _InputIter) [with
> _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 189 of
> "/work/stdcxx/trunk.twister/include/string"
>             instantiation of "std::basic_string<_CharT, _Traits,
> _Allocator>::basic_string(_InputIter, _InputIter, const _Allocator &)
> [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>,
> _Allocator=std::allocator<wchar_t>, _InputIter=char *]" at line 353 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "int type_test(int, charT, long double,
> const char *, char, int, int, int, const char *, const char *) [with
> charT=wchar_t]" at line 434 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
>             instantiation of "void ldbl_test(charT) [with
> charT=wchar_t]" at line 852 of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp"
> 
> 1 error detected in the compilation of
> "/work/stdcxx/trunk.twister/tests/localization/22.locale.money.put.cpp".
> gmake[2]: *** [22.locale.money.put.o] Error 2
> gmake[2]: Leaving directory `/build/stdcxx/tests'
> gmake[1]: [tests] Error 2 (ignored)
> gmake[1]: Leaving directory `/build/stdcxx'
> -----
> 
> Brad. 
> 
>> -----Original Message-----
>> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
>> Sent: Thursday, March 13, 2008 12:43 PM
>> To: dev@stdcxx.apache.org
>> Subject: Re: [HPUX/aCC] build failure: 22.locale.money.put
>>
>> Eric Lemings wrote:
>>>  
>>> I just tried building on an HP-IPF machine and encountered 
>> a failure 
>>> while building the tests.  See attached file.
>> ezmlm strips attachments unless it's been told not to. Outlook is
>> usually the email client that tends to cause this even with plain
>> text files because it's too dumb to identify them as such and send
>> them as binary. You might want to switch to a sane mailer if you
>> want your attachments preserved :)
>>
>>>  
>>> This look familliar to anyone?
>> I see compilation errors in nightly builds. I suspect it's still
>> fallout from Farid's recent change to string.cc:
>>
>>    http://svn.apache.org/viewvc?view=rev&revision=629584
>>
>> and
>>
>>    http://svn.apache.org/viewvc?view=rev&revision=635439
>>
>> Farid, I think I'm going to have to ask you to revert the patch
>> until you can come up with a cleaner solution.
>>
>> Btw., Travis pointed this out earlier this week -- I assume you
>> missed it:
>> http://www.nabble.com/RE%3A-svn-commit%3A-r635439----stdcxx-tr
>> unk-include-string.cc-tt15964413.html
>>
>> Martin
>>
> 


Mime
View raw message