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

2021-05-23 Thread Liu Hao
在 5/23/21 11:16 PM, Jacek Caban 写道: The whole thing is really a hack, but I don't see a better solution, so it looks fine to me. I am not sure whether people expect the Microsoft `__cpuid` or the GCC one. Perhaps we can have this commit in master for some time and see how it goes. -- B

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

2021-05-23 Thread Jacek Caban
On 20/05/2021 17:46, Liu Hao wrote: 在 2021-05-20 22:40, Jacek Caban 写道: We could #undef __cpuid just after including cpuid.h. Updated patch is attached. The whole thing is really a hack, but I don't see a better solution, so it looks fine to me. Thanks, Jacek __

Re: [Mingw-w64-public] [PATCH] crt/stdlib: Add `quick_exit()` and `at_quick_exit()` for UCRT

2021-05-23 Thread Christoph Reiter
On Sat, May 22, 2021 at 4:14 AM Liu Hao wrote: > > 在 2021-05-22 00:30, Christoph Reiter 写道: > > It compiles and runs fine, but gcc still fails to build with current > > master with the same error. Both on CI and locally. > > Ah, I see. It's because either or is included before > . > > I have se

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

2021-05-23 Thread Liu Hao
在 2021-05-20 23:46, Liu Hao 写道: 在 2021-05-20 22:40, Jacek Caban 写道: We could #undef __cpuid just after including cpuid.h. Updated patch is attached. ping? -- Best regards, Liu Hao OpenPGP_signature Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] Question: Should opaque UCRT structures be added?

2021-05-23 Thread Liu Hao
在 2021-05-02 13:06, Biswapriyo Nath 写道: Some projects like ruby, perl, gnulib etc. uses the iobuf and ioinfo structures heavily. Is it possible to add those structure definition for UCRT here? Just asking :) The structure is only meaningful for inline functions or macros such as `_fgetc_nolo