Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/9 13:05, Biswapriyo Nath 写道: > Update 3. > > As in the second patch `BOOL` should be `WINBOOL`. I amended it and pushed this patch. Thanks. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-pu

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Biswapriyo Nath
Update 3. From 43d18b7edc96a3f28a474ba4ba040e5bd1387e9d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 9 Nov 2019 10:28:54 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincrypt.h | 575 +++

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/9 3:14, Biswapriyo Nath 写道: > Update 2: Removed the wnum type completely. > > > This is barely satisfactory. That enumeration by default has an underlying type of `unsigned int` which has the same size and alignment requirement as `DWORD` (which is `unsigned long`) on Windows. So it i

Re: [Mingw-w64-public] [RFC] x86, x86_64: bad fpu precision after _beginthreadex

2019-11-08 Thread Liu Hao
在 2019/11/9 1:01, KONRAD Frederic 写道: > Hello, > > I have some precision issues with qemu-system-riscv64. After debugging a > little > I found out that the math function fma(a, b, c) is inaccurate when > compiled with > mingw 6.0 under x86, x86_64 and run from a different thread. > > In fact when

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Biswapriyo Nath
Update 2: Removed the wnum type completely. From 2b6c5aff75287577aaa470c4b9bc10690f16ffd6 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 9 Nov 2019 00:38:39 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincry

[Mingw-w64-public] [RFC] x86, x86_64: bad fpu precision after _beginthreadex

2019-11-08 Thread KONRAD Frederic
Hello, I have some precision issues with qemu-system-riscv64. After debugging a little I found out that the math function fma(a, b, c) is inaccurate when compiled with mingw 6.0 under x86, x86_64 and run from a different thread. In fact when a thread is created with _beginthreadex the x87 FPU pr

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/5 23:35, Biswapriyo Nath 写道: > Update 1. > > > > + > +#if defined(__cplusplus) && !defined(SORTPP_PASS) > +#define WINCRYPT_DWORD_CPP_ONLY DWORD > +#else > +#define WINCRYPT_DWORD_CPP_ONLY > +#endif > + typedef enum CertKeyType WINCRYPT_DWORD_CPP_ONLY { This `WINCRYPT_DWORD_CPP_ONLY`