On 2026/08/17 01:02, Pali Rohár wrote:
> On Monday 17 August 2026 00:46:37 Zhongteng Gui wrote:
>> BTW, I wonder if we really should guard wmemchr and similar functions under
>> __NO_ISOCEXT and __CRT__NO_INLINE. UCRT headers always use the inlined 
>> version
>> (unless for RC or other non-compilers). I think maybe we could follow this, 
>> and
>> remove these files from libmingwex.a.
> 
> This will break autotools checks and other builds which are not using
> C header files. mingw-w64 should continue providing symbols for ISO C
> functions.

Got it. But I guess many other parts of libmingwex could be simplified. For
example, cabsf, and many other complex functions. They exists in msvcr120 and
ucrtbase. I think we can compile corresponding sources only for older targets,
and maybe the inline version can also be removed? UCRT header doesn't provide
inline versions for these functions.


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

Reply via email to