Re: [Mingw-w64-public] [PATCH] headers: Add directxmath.h with some basic declarations.

2020-12-17 Thread Liu Hao
在 2020/12/17 下午11:40, Biswapriyo Nath 写道: > Update #1. > > Why did you remove those alignment attributes? `XMFLOAT4A` etc. have to be aligned (note the final `A` in its name) so they must be declared with those attributes. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digita

Re: [Mingw-w64-public] [PATCH] headers: Add directxmath.h with some basic declarations.

2020-12-17 Thread Biswapriyo Nath
Update #1. From 8b1038b898c4cfed480bf6a140c0a20492817a4c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 17 Dec 2020 21:09:18 +0530 Subject: [PATCH] headers: Add directxmath.h with some basic declarations. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/directxmath.h | 32

Re: [Mingw-w64-public] [PATCH 2/2] headers: put the [v1_enum] in bdatypes.h on one line

2020-12-17 Thread Jacek Caban
Hi Steve, On 15.12.2020 16:33, Steve Lhomme wrote: Otherwise it results in a compilation error with widl 6.0-rc1: include/bdatypes.h:43: error: 'PBDA_EVENT_ID': [v1_enum] attribute applied to non-enum type The code generated without this [v1_enum] is the same but we can keep this informatio

Re: [Mingw-w64-public] [PATCH] winternl.h: Rename Unknown to MaximumProcessors in SYSTEM_PROCESSOR_INFORMATION.

2020-12-17 Thread Liu Hao
在 2020/12/17 22:28, Biswapriyo Nath 写道: > The SYSTEM_PROCESSOR_INFORMATION structure is not even in Microsoft's > Windows SDK or in documentation. So, changing "unknown" to correct one > (from combase.pdb) may not cost anything ;) > > > ReactOS uses the name `Reserved` [1] so I wonder how much

Re: [Mingw-w64-public] [PATCH] headers: Add directxmath.h with some basic declarations.

2020-12-17 Thread Liu Hao
在 2020/12/17 3:08, Biswapriyo Nath 写道: > +#define DIRECTX_MATH_VERSION 314 > + > +#define XM_CONST const > +#define XM_CONSTEXPR This can be defined as: ```c++ #if __cplusplus >= 201103L # define XM_CONSTEXPR constexpr #else # define XM_CONSTEXPR #endif ``` > +__declspec(align(16)) struct XMF

Re: [Mingw-w64-public] [PATCH] winternl.h: Rename Unknown to MaximumProcessors in SYSTEM_PROCESSOR_INFORMATION.

2020-12-17 Thread Biswapriyo Nath
The SYSTEM_PROCESSOR_INFORMATION structure is not even in Microsoft's Windows SDK or in documentation. So, changing "unknown" to correct one (from combase.pdb) may not cost anything ;) ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge

Re: [Mingw-w64-public] [PATCH] winternl.h: Rename Unknown to MaximumProcessors in SYSTEM_PROCESSOR_INFORMATION.

2020-12-17 Thread Liu Hao
在 2020/12/17 10:09, Alex Henrie 写道: > Signed-off-by: Alex Henrie > --- > This field is the current number of processors in the system plus the > number of processors that could be added without rebooting. > > https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/processor.htm >