Re: [Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Biswapriyo Nath
Interesting. The first error is shown by g++ now this error is shown by gcc. Here I remove the _LBA and _MSF names from the structs. From 120b04e6ebd083042e65669fbd079cfec53145a5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 16 Jun 2020 21:40:21 +0530 Subject: [PATCH] ddk/scsi: add

Re: [Mingw-w64-public] [PING] [PATCH] d2d1_1.h: Add C declaration for ID2D1Multithread

2020-06-16 Thread Liu Hao
在 2020/6/14 22:11, Ruslan Garipov 写道: > > Signed-off-by: ‡Ruslan Garipov > --- > mingw-w64-headers/include/d2d1_1.h | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > > This patch looks good. Pushed too. -- Best regards, LH_Mouse signature.asc

Re: [Mingw-w64-public] [PING] [PATCH] dwrite_1.h: Fix build in C mode

2020-06-16 Thread Liu Hao
在 2020/6/14 22:12, Ruslan Garipov 写道: > > Some classes† in the file declare overloaded functions, and this causes > a C compiler to fail on module including dwrite_1.h. This commit fixes > that. > > To be consistent on changes I rewrote declaration of all classes/structs > in the file, even if

Re: [Mingw-w64-public] [PATCH] headers: fix defines for some allowed UWP API's

2020-06-16 Thread Liu Hao
在 2020/6/5 16:21, Steve Lhomme 写道: > Since 60d5baaa7d1ec067b400910535655eefd4ba560b the functions are allowed but > the defines were missing when compiled in Winstore mode. > --- > mingw-w64-headers/include/fileapi.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > Sorry for

Re: [Mingw-w64-public] [PATCH] headers/knownfolders.h: add missing folder ids

2020-06-16 Thread Liu Hao
在 2020/6/15 15:17, Biswapriyo Nath 写道: > > > > Thanks. Pushed this one. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Liu Hao
在 2020/6/16 17:58, Biswapriyo Nath 写道: > Patch file updated. Though I would like to know why unnamed union in other > header file does not show that error? Both __C89_NAMELESS and > _ANONYMOUS_UNION are defined to __extension__. > > > ``` mingw-w64-headers/ddk/include/ddk/scsi.h: At top

Re: [Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Alex Alabuzhev
Thanks. > why unnamed union in other header file does not show that error? Presumably because other unnamed unions only introduce unnamed structs. I.e. the other way to fix it could be removing _LBA and _MSF type names and marking the corresponding structs as anonymous. -- Best regards, Alex

Re: [Mingw-w64-public] [PATCH] headers/knownfolders.h: add missing folder ids

2020-06-16 Thread JonY via Mingw-w64-public
On 6/15/20 7:17 AM, Biswapriyo Nath wrote: > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Biswapriyo Nath
Patch file updated. Though I would like to know why unnamed union in other header file does not show that error? Both __C89_NAMELESS and _ANONYMOUS_UNION are defined to __extension__. From 369f59b8ebb0030472a127a74379326b54acda13 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 16 Jun

Re: [Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Alex Alabuzhev
@@ -975,24 +1122,22 @@ typedef union _CDB { UCHAR CMSF:1; UCHAR ExpectedSectorType:3; UCHAR Lun:3; -struct _LBA { - UCHAR StartingBlockAddress[4]; - UCHAR PlayLength[4]; -}; -struct _MSF { - UCHAR Reserved1; - UCHAR StartingM; - UCHAR StartingS;

[Mingw-w64-public] [PATCH] headers/debugapi: add WaitForDebugEventEx for Win10 only

2020-06-16 Thread Biswapriyo Nath
From a4361e6a05c1ecc56230f36908e6babec8176e68 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 16 Jun 2020 13:13:41 +0530 Subject: [PATCH] headers/debugapi: add WaitForDebugEventEx for Win10 only Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/debugapi.h | 3 +++ 1 file

[Mingw-w64-public] [PATCH] ddk/scsi: add missing enum and define entries

2020-06-16 Thread Biswapriyo Nath
From 00383c48264a68289cff4f1444d66fd5257f02b1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 16 Jun 2020 13:06:00 +0530 Subject: [PATCH] ddk/scsi: add missing enum and define entries Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/ddk/include/ddk/scsi.h | 402