From: Stefan S. <se...@sy...> - 2005-10-20 11:53:36
|
Gilles J. Seguin wrote: > On Thu, 2005-10-20 at 06:03 -0400, Gilles J. Seguin wrote: > >>after applying patch for bits/cpp_type_traits.h known problem >> >>"make check" fails >>1- /usr/include/c++/4.0.1/bits/stl_algobase.h:164 >>2- /usr/include/c++/4.0.1/ext/mt_allocator.h:498 >>3- /usr/include/c++/4.0.1/ext/mt_allocator.h:544 >> >>1- is >> std::__iter_swap< >> __are_same<_ValueType1, _ValueType2>::__value >> && __are_same<_ValueType1 &, _ReferenceType1>::__value >> && __are_same<_ValueType2 &, _ReferenceType2>::__value >> >::iter_swap(__a, __b); > > > made this one to pass, if the template parameter of __iter_swap is > put between parenthesis in stl_algobase.h > > that is > std::__iter_swap<( > __are_same<_ValueType1, _ValueType2>::__value > && __are_same<_ValueType1 &, _ReferenceType1>::__value > && __are_same<_ValueType2 &, _ReferenceType2>::__value > )>::iter_swap(__a, __b); Good ! That helps to understand what is going on. It appears this way you give a hint to occ to interpret the content of the parens as a primary-expression, I think. Unfortunately the libstdc++ maintainer's are unlikely to accept patches to satisfy occ ;-) Regards, Stefan |