This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build break in libstdc++-v3 on OS/2


Hi All,

I'm trying to update my OS/2 port of GCC to v4.6.3

I have the compiler part building, but am currently getting a break in libstdc++-v3.

The error is as follows:
In file included from U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/rege
x:39:0,
from ../../.././libstdc++-v3/src/regex.cc:30:
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bitset: In member function
'void std::bitset<_Nb>::_M_copy_from_ptr(const _CharT*, std::size_t, std::size_
t, std::size_t, _CharT, _CharT)':
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bitset:1371:67: error: no
matching function for call to 'min(unsigned int&, const unsigned int&)'
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bitset:1371:67: note: cand
idates are:
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bits/stl_algobase.h:187:5:
note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bits/stl_algobase.h:233:5:
note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const
_Tp&, _Compare)
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bits/stl_algo.h:4184:5: no
te: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>)
U:/DEV/gcc-4.6.3/i386-pc-os2-emx/libstdc++-v3/include/bits/stl_algo.h:4189:5: no
te: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>,
_Compare)


Any ideas?

Cheers,

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]