Pali Rohár <[email protected]> wrote:

> So what do you think. It is better idea to completely remove struct
> threadlocaleinfostruct from header files? Or fix it for versioned msvcrt
> libraries? Because current definition in mingw-w64 is really incorrect.

If I remember correctly, the only place where we ever access _locale_t's 
internals are macro versions of wctype.h functions. I think I mentioned to you 
that I got segfaults when used those macros with some CRTs.

IMO, we should remove all accesses to _locale_t's internals; I'm not sure 
whether we should keep `struct threadlocaleinfostruct`. I think fixing for 
versioned CRTs it possible, but not for msvcrt.dll, where its layout may be 
different depending on OS version.

- Kirill Makurin

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

Reply via email to