Re: [Mingw-w64-public] [RFC] Integrating mcfgthread with mingw-w64 CRT

2022-10-20 Thread ralph engels
sounds like a good idea :) Den 20-10-2022 kl. 16:04 skrev LIU Hao: 在 2022-10-20 14:12, ralph engels 写道: I think he was refering to gcc's gthreads implementation ?. not sure if it was ever used for much else than the objc compiler, it does not support threading in C++ as far as i know. gth

Re: [Mingw-w64-public] #ifdef _MSVCRT_

2022-10-20 Thread Pali Rohár
On Tuesday 18 October 2022 12:01:34 LIU Hao wrote: > 在 2022/10/13 00:50, Pali Rohár 写道: > > Hello! More mingw-w64 header files contain '#ifdef _MSVCRT_' code. > > But _MSVCRT_ is not defined neither by gcc nor mingw-w64 runtime. > > So it is a dead code? Or is there any purpose for having those ifd

[Mingw-w64-public] [PATCH 2/2] crt: Regenerate Makefile.in

2022-10-20 Thread Yonggang Luo
Signed-off-by: Yonggang Luo --- mingw-w64-crt/Makefile.in | 204 +++--- 1 file changed, 144 insertions(+), 60 deletions(-) diff --git a/mingw-w64-crt/Makefile.in b/mingw-w64-crt/Makefile.in index 6e4a48592..66e88ec14 100644 --- a/mingw-w64-crt/Makefile.in +++ b/mi

[Mingw-w64-public] [PATCH 1/2] crt: Implement tdestroy

2022-10-20 Thread Yonggang Luo
Signed-off-by: Yonggang Luo --- mingw-w64-crt/Makefile.am | 2 +- mingw-w64-crt/misc/tdestroy.c | 31 + mingw-w64-crt/testcases/t_tsearch.c | 16 +++ mingw-w64-headers/crt/search.h | 1 + 4 files changed, 49 insertions(+), 1 deletion(

[Mingw-w64-public] [PATCH 0/2] Implement tdestroy for tree

2022-10-20 Thread Yonggang Luo
Yonggang Luo (2): crt: Implement tdestroy crt: Regenerate Makefile.in mingw-w64-crt/Makefile.am | 2 +- mingw-w64-crt/Makefile.in | 204 mingw-w64-crt/misc/tdestroy.c | 31 + mingw-w64-crt/testcases/t_tsearch.c | 16 +++ mingw-

[Mingw-w64-public] [PATCH] headers: Add windowsnumerics.h, windowsnumerics.impl.h

2022-10-20 Thread Alvin Wong via Mingw-w64-public
These headers are only partially implemented. They include all the type definitions and struct members according to the docs. All the functions have been declared but not all of them are defined. Attempting to use the undefined functions will likely produce a compiler warning followed by a linker

Re: [Mingw-w64-public] [RFC] Integrating mcfgthread with mingw-w64 CRT

2022-10-20 Thread LIU Hao
在 2022-10-20 14:12, ralph engels 写道: I think he was refering to gcc's gthreads implementation ?. not sure if it was ever used for much else than the objc compiler, it does not support threading in C++ as far as i know. gthread is used by libstdc++ to implement standard threading facilities [