From: <se...@in...> - 2005-10-20 08:18:19
|
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); see also testcase attachment occ2 gilles3.cc -o gilles3.exe |