Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
70 user(s) are online (55 user(s) are browsing Forums)

Members: 1
Guests: 69

DStastny, more...

Support us!

Headlines

Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by kas1e on 2019/8/11 9:00:05

@BSzili
What is interesting is that both , and issue with std::wostream and that issue with wstring+unordered_map didn't happens if i use CLIB2.

What mean that probabaly with newlib it also can compiles, just need some dance with includes, and probably setting come compiler flags.

All those wstring and wostream come with gcc itself (and in their includes), not in clib2 or newlib. Just seems clib2 is better handle it all via their own includes/ifdefs, etc.


EDIT: for wostream and wostringstream going the same way as with wstring:

typedef basic_string<wchar_twstring
typedef basic_ostream<wchar_twostream;
typedef basic_ostringstream<wchar_twostringstream;


Seems all compiles fine.

Need only understand how to deal with that strange issue when such a typedefes wstring used together with unordered_map. It bring some strange issue from /bits/hashtable.h, saying:

error: static assertion failedhash function must be invocable with an argument of key type
static_assert
(__is_invocable<const _H1&, const _Key&>{},


But with clib2 all fine.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project