sba1 / adtools

Experimental GNU toolchain for AmigaOS
31 stars 18 forks source link

unordered_map errors when compile simple test case over newlib, but ok with clib2 #92

Closed kas1e closed 3 years ago

kas1e commented 3 years ago

There is test case:

#include <string>
#include <sstream>
#include <unordered_map>
#include <ostream>

#ifdef __amigaos4__
namespace std {
    typedef basic_string<wchar_t> wstring;
}
#endif

int main()
{
    std::unordered_map<std::wstring, std::wstring> m_translations;
}

On clib2 it compiles fine, but on newlib bring lots of errors about Hashtable and it's use of deleted function

The issue happens the same and on gcc8.4.0 and on gcc10.1.0

kas1e commented 3 years ago

from newlib's side everything about "not a member of std::" was fixed in the new beta of newlib 53.69 and adtools recompiled with new newlib's headers.