On Sunday 14 June 2026 13:17:38 Kirill Makurin wrote:
> I actually was wondering if __mingw_str_wide_utf8 and __mingw_str_utf8_wide 
> functions are used by anyone. Maybe we can remove them?
> 
> - Kirill Makurin

I have no idea. But the fact that function is setting '0' as a nul term,
probably it is not used. It should be either fixed or removed.
Current state is really bad.

I tried to use https://sourcegraph.com/search and it found one usage of
__mingw_str_utf8_wide in mypaint project in fastpng.cpp file:

https://github.com/mypaint/mypaint/blob/35aa9d33cd3deba6cafea6d8fc901b5a1d161ceb/lib/fastpng.cpp#L487-L504

which has ifdef and fallback code with exactly same L'0' issue.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to