Re: [Mingw-w64-public] [PATCH] crt: Add libopends60.a.

2021-05-20 Thread Liu Hao
在 5/21/21 1:28 AM, Mark Harmstone 写道: This is the counterpart to srv.h, used to create extended stored procedures for MSSQL. Signed-off-by: Mark Harmstone --- mingw-w64-crt/lib32/Makefile.am | 1 + mingw-w64-crt/lib64/Makefile.am | 1 + mingw-w64-crt/lib64/opends60.def | 82 +++

Re: [Mingw-w64-public] [PATCH] crt: Implement `at_quick_exit()`

2021-05-20 Thread Martin Storsjö
On Thu, 20 May 2021, Liu Hao wrote: 在 5/20/21 2:40 PM, Martin Storsjö 写道: Ok, fair enough, will do. What do you think about the change itself? The patch looks good itself. Thanks, pushed. // Martin ___ Mingw-w64-public mailing list Mingw-w64-

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add libopends60.a.

2021-05-20 Thread Mark Harmstone
I get where you're coming from, but I think it's even worse to include a header file without the corresponding LIB, which is the current situation. From what I gather, Microsoft have purposefully made this library hard to find, to discourage its use - their preferred method is CLR nowadays. That's

[Mingw-w64-public] [PATCH] crt: Add libopends60.a.

2021-05-20 Thread Mark Harmstone
This is the counterpart to srv.h, used to create extended stored procedures for MSSQL. Signed-off-by: Mark Harmstone --- mingw-w64-crt/lib32/Makefile.am | 1 + mingw-w64-crt/lib64/Makefile.am | 1 + mingw-w64-crt/lib64/opends60.def | 82 ++ 6 files changed, 148 inser

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add libopends60.a.

2021-05-20 Thread Mark Harmstone
On 20/5/21 3:28 pm, Liu Hao wrote: > 在 2021-05-18 07:26, Mark Harmstone 写道: >> This is the counterpart to srv.h, used to create extended stored >> procedures for MSSQL. >> >> Signed-off-by: Mark Harmstone >> --- >>   mingw-w64-crt/Makefile.in    | 98 >>   mingw

Re: [Mingw-w64-public] [PATCH] headers: Add missing APIs in wow64apiset.h.

2021-05-20 Thread Liu Hao
在 2021-05-20 22:42, Biswapriyo Nath 写道: From dcbea6cc8937ca1bf169448f466c7e46f5f59ac0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 20 May 2021 20:10:20 +0530 Subject: [PATCH] headers: Add missing APIs in wow64apiset.h. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Liu Hao
在 2021-05-20 22:40, Jacek Caban 写道: We could #undef __cpuid just after including cpuid.h. Updated patch is attached. -- Best regards, Liu Hao From fb076cef964bfeb65c345535cceadadaff3e3ceb Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Tue, 11 May 2021 00:39:58 +0800 Subject: [PATCH] includ

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add libopends60.a.

2021-05-20 Thread Alexey Pavlov
I don’t think it is good idea provide library that not part of SDK. Regards, Alexey > 20 мая 2021 г., в 17:29, Liu Hao написал(а): > > 在 2021-05-18 07:26, Mark Harmstone 写道: >> This is the counterpart to srv.h, used to create extended stored >> procedures for MSSQL. >> Signed-off-by: Mark Harm

[Mingw-w64-public] [PATCH] headers: Add missing APIs in wow64apiset.h.

2021-05-20 Thread Biswapriyo Nath
From dcbea6cc8937ca1bf169448f466c7e46f5f59ac0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 20 May 2021 20:10:20 +0530 Subject: [PATCH] headers: Add missing APIs in wow64apiset.h. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wow64apiset.h | 30 ++

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Jacek Caban
On 5/20/21 4:37 PM, Liu Hao wrote: 在 2021-05-20 22:29, Jacek Caban 写道: On 5/20/21 4:21 PM, Liu Hao wrote: +#if (!defined(__GNUC__) || __GNUC__ < 11)   __MACHINEI(void __cpuid(int a[4],int b)) +#endif __cpuid is a macro in both older GCCs and clang, so it will probably not work there. It'

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Liu Hao
在 2021-05-20 22:29, Jacek Caban 写道: On 5/20/21 4:21 PM, Liu Hao wrote: +#if (!defined(__GNUC__) || __GNUC__ < 11)   __MACHINEI(void __cpuid(int a[4],int b)) +#endif __cpuid is a macro in both older GCCs and clang, so it will probably not work there. It's also present in intrin-impl.h.

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Jacek Caban
On 5/20/21 4:21 PM, Liu Hao wrote: +#if (!defined(__GNUC__) || __GNUC__ < 11) __MACHINEI(void __cpuid(int a[4],int b)) +#endif __cpuid is a macro in both older GCCs and clang, so it will probably not work there. It's also present in intrin-impl.h. Jacek

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add libopends60.a.

2021-05-20 Thread Liu Hao
在 2021-05-18 07:26, Mark Harmstone 写道: This is the counterpart to srv.h, used to create extended stored procedures for MSSQL. Signed-off-by: Mark Harmstone --- mingw-w64-crt/Makefile.in| 98 mingw-w64-crt/aclocal.m4 | 17 -- mingw-w64-crt

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Liu Hao
在 2021-05-20 21:58, Jacek Caban 写道: As far as I can see, cpuid.h is not included by any other header shipped with GCC. It means that with your changes, users will would need to start including it themselves in addition to intrin.h. For similar cases with other *intrin.h headers provided by G

Re: [Mingw-w64-public] [PATCH] headers: Add missing interfaces in mfidl.idl.

2021-05-20 Thread Liu Hao
在 2021-05-20 01:33, Biswapriyo Nath 写道: ping! Thanks. This patch looks good to me. I pushed it to master. -- Best regards, Liu Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@list

Re: [Mingw-w64-public] [PATCH 2/2] include/sspi.h: Add missing definitions.

2021-05-20 Thread Liu Hao
在 2021-05-18 07:29, Mark Harmstone 写道: Signed-off-by: Mark Harmstone --- mingw-w64-headers/include/sspi.h | 425 ++- 1 file changed, 415 insertions(+), 10 deletions(-) Thanks. These patches look good to me. I pushed them to master, along with the one we discuss

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Jacek Caban
Hi Liu, On 5/10/21 6:45 PM, Liu Hao wrote: Subject: [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11 GCC 11 has this as a static inline function without any indicative macros. Reference:https://github.com/gcc-mirror/gcc/blob/23855a176609fe8dda6abaf2b21846b4517966eb/gcc/config/i

Re: [Mingw-w64-public] [PATCH] include/intrin-impl: Don't define `__cpuidex` for GCC 11

2021-05-20 Thread Liu Hao
ping. -- Best regards, Liu Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] crt: Implement `at_quick_exit()`

2021-05-20 Thread Liu Hao
在 5/20/21 2:40 PM, Martin Storsjö 写道: Ok, fair enough, will do. What do you think about the change itself? The patch looks good itself. -- Best regards, Liu Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mail