On Thu, 2011-12-29 at 19:00 +0100, François Dumont wrote: > Attached patch applied. > > 2011-12-29 François Dumont <fdum...@gcc.gnu.org> > > PR libstdc++/51608 > [...]
After this patch I'm getting the following error when building a gcc cross compiler with "make all": /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc ++-v3/include/bits/hashtable_policy.h:518:16: error: expected '>' before numeric constant /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc ++-v3/include/bits/hashtable_policy.h:523:16: error: expected '>' before numeric constant /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc ++-v3/include/bits/hashtable_policy.h:524:28: error: '_Tp' was not declared in this scope /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc ++-v3/include/bits/hashtable_policy.h:524:37: error: wrong number of template arguments (3, should be 1) [...] See attached file for the full error log. Something missing there? Cheers, Oleg
make[4]: Entering directory `/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include' mkdir -p ./sh-elf/bits/stdc++.h.gch /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/./gcc/xgcc -shared-libgcc -B/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/./gcc -nostdinc++ -L/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/src -L/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/src/.libs -B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/ -isystem /usr/local/sh-elf/include -isystem /usr/local/sh-elf/sys-include -x c++-header -nostdinc++ -Os -mnomacsave -mpretend-cmove -mfused-madd -freg-struct-return -I/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/sh-elf -I/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include -I/home/yam/code/gcc/gcc-trunk-van/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/yam/code/gcc/gcc-trunk-van/libstdc++-v3/include/precompiled/stdc++.h \ -o sh-elf/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable.h:35:0, from /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/unordered_map:45, from /home/yam/code/gcc/gcc-trunk-van/libstdc++-v3/include/precompiled/stdc++.h:116: /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:518:16: error: expected '>' before numeric constant /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:523:16: error: expected '>' before numeric constant /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:524:28: error: '_Tp' was not declared in this scope /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:524:37: error: wrong number of template arguments (3, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:525:5: error: expected class-name before '{' token /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:540:16: error: expected '>' before numeric constant /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:541:28: error: '_Tp' was not declared in this scope /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:541:38: error: wrong number of template arguments (3, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:586:35: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:586:58: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:589:41: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:590:35: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In constructor 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_Hash_code_base(const _ExtractKey&, const _H1&, const _H2&, const _Hash&)': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:596:4: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_EboExtractKey' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:596:26: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_EboHash' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_M_extract() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:632:35: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_M_extract()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:634:29: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _Hash& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_M_ranged_hash() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:636:39: error: '_EboHash' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_Hash& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, false>::_M_ranged_hash()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:638:33: error: '_EboHash' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: At global scope: /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:658:35: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:658:56: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:658:77: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:661:41: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:662:33: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:663:33: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In constructor 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_Hash_code_base(const _ExtractKey&, const _H1&, const _H2&, const std::__detail::_Default_ranged_hash&)': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:678:9: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_EboExtractKey' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:678:31: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_EboH1' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:678:45: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_EboH2' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_extract() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:715:35: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_extract()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:717:29: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _H1& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_h1() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:719:30: error: '_EboH1' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_H1& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_h1()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:721:24: error: '_EboH1' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _H2& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_h2() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:723:30: error: '_EboH2' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_H2& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_h2()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:725:24: error: '_EboH2' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: At global scope: /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:735:35: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:735:56: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:735:77: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:738:41: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:739:33: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:740:33: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In constructor 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_Hash_code_base(const _ExtractKey&, const _H1&, const _H2&, const std::__detail::_Default_ranged_hash&)': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:753:9: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_EboExtractKey' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:753:31: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_EboH1' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:753:45: error: 'typedef int std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_EboH2' is not a non-static data member of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_extract() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:790:35: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_ExtractKey& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_extract()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:792:29: error: '_EboExtractKey' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _H1& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_h1() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:794:30: error: '_EboH1' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_H1& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_h1()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:796:24: error: '_EboH1' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _H2& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_h2() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:798:30: error: '_EboH2' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_H2& std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_h2()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:800:24: error: '_EboH2' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: At global scope: /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:840:28: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:843:34: error: wrong number of template arguments (2, should be 1) /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:520:12: error: provided for 'template<int <anonymous> > struct std::__detail::_Ebo_helper' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In constructor 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, __cache_hash_code>::_Hashtable_base(const _ExtractKey&, const _H1&, const _H2&, const _Hash&, const _Equal&)': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:853:44: error: 'typedef int std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, __cache_hash_code>::_EboEqual' is not a non-static data member of 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, __cache_hash_code>' /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function 'const _Equal& std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, __cache_hash_code>::_M_eq() const': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:874:28: error: '_EboEqual' is not a class, namespace, or enumeration /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h: In member function '_Equal& std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, __cache_hash_code>::_M_eq()': /home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include/bits/hashtable_policy.h:876:22: error: '_EboEqual' is not a class, namespace, or enumeration make[4]: *** [sh-elf/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1 make[4]: Leaving directory `/home/yam/code/gcc/gcc-trunk-van-build-sh-elf/sh-elf/libstdc++-v3/include'