Re: [Mingw-w64-public] [PATCH] headers: remove conflicting declarations in qos2.h

2023-09-12 Thread Alvin Wong via Mingw-w64-public
Hi, I assume you attached a patch file with the file extension `.patch` 
but unfortunately it was stripped from the mailing list. (This happens a 
lot for patches sent from Gmail.) Can you resend it with the file 
extension changed to  `.txt`? Thanks.


On 12/9/2023 22:48, Oleg Tolmatcev wrote:

Hello,

This patch removes declarations that lead to compilation errors in Dolphin.

Best regards
Oleg

___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public



___
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] headers: remove conflicting declarations in qos2.h

2023-09-12 Thread Oleg Tolmatcev
Am Di., 12. Sept. 2023 um 17:01 Uhr schrieb Alvin Wong :
>
> Hi, I assume you attached a patch file with the file extension `.patch`
> but unfortunately it was stripped from the mailing list. (This happens a
> lot for patches sent from Gmail.) Can you resend it with the file
> extension changed to  `.txt`? Thanks.

Sure. Here it is.
From 6d8031df164e689baf30c6ae59579852301b7fba Mon Sep 17 00:00:00 2001
From: Oleg Tolmatcev 
Date: Sat, 5 Aug 2023 13:35:53 +0200
Subject: [PATCH] headers: remove conflicting declarations in qos2.h

---
 mingw-w64-headers/include/qos2.h | 4 
 1 file changed, 4 deletions(-)

diff --git a/mingw-w64-headers/include/qos2.h b/mingw-w64-headers/include/qos2.h
index 1a708f66..d16874e2 100644
--- a/mingw-w64-headers/include/qos2.h
+++ b/mingw-w64-headers/include/qos2.h
@@ -145,10 +145,6 @@ WINBOOL WINAPI QOSRemoveSocketFromFlow(
   DWORD Flags
 );
 
-#define QOSSetTrafficType 0
-#define QOSSetOutgoingRate 1
-#define QOSSetOutgoingDSCPValue 2
-
 WINBOOL WINAPI QOSSetFlow(
   HANDLE QOSHandle,
   QOS_FLOWID FlowId,
-- 
2.41.0.windows.1

___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [PATCH] headers: remove conflicting declarations in qos2.h

2023-09-12 Thread Oleg Tolmatcev
Hello,

This patch removes declarations that lead to compilation errors in Dolphin.

Best regards
Oleg

___
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] headers: Add missing symbols in wtsapi32.h

2023-09-12 Thread LIU Hao

在 2023-09-11 00:06, Biswapriyo Nath 写道:

0001-headers-Add-missing-symbols-in-wtsapi32.h.patch

 From 45cea5bb2a92d87123e445231330acd70da057d2 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Sun, 10 Sep 2023 15:28:08 +
Subject: [PATCH] headers: Add missing symbols in wtsapi32.h

Required for chromium

Signed-off-by: Biswapriyo Nath
---
  mingw-w64-headers/include/wtsapi32.h | 263 ++-
  1 file changed, 254 insertions(+), 9 deletions(-)


Thanks. This patch looks good to me. Pushed to master now.

--
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] headers: Provide __cpuidex for Clang 17

2023-09-12 Thread LIU Hao

在 2023-09-12 17:23, Martin Storsjö 写道:

In 2b6c9247613aa830374e3686e09d3b8d582a92a6, we changed so that
we don't provide __cpuidex for Clang 17 or newer, as Clang itself
provided that as a builtin.

The __cpuidex builtin was added in Clang during the course of
development of Clang 17, but it was reverted before version 17 was
released (it was added initially in
2df77ac20a1ed996706b164b0c4ed5ad140f635f, in llvm-project, on May 24th,
but later reverted in f3baf63d9a1ba91974f4df6abb8f2abd9a0df5b5 on August
4th, which also was cherrypicked to the 17.x release branch).

Clang 17 isn't formally released yet, but it has been agreed to
not reland the change within the 17.x release series.

In current git main of llvm-project, the __cpuidex builtin isn't
yet readded, but it is being planned and it seems likely to
be readded before version 18 gets released in 6 months; thus
bump the version to 18 instead of removing the condition entirely.
Relanding it is being discussed in https://reviews.llvm.org/D158348.

Signed-off-by: Martin Storsjö 
---
  mingw-w64-headers/include/psdk_inc/intrin-impl.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



LGTM.



--
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 2/2] headers: Manually import d3d12.idl from vkd3d

2023-09-12 Thread Martin Storsjö

On Sat, 9 Sep 2023, Jacek Caban wrote:


On 9/8/23 13:48, Martin Storsjö wrote:

Ideally the d3d12.idl in wine will be brought up to sync at some point,
but for now, exclude this header and sync it manually from vkd3d
instead.



Yes, we will want to re-sync all of that and I'm happy to help with that if 
needed. The patch itself looks good to me and I'm fine with committing it 
meantime as is to unblock you.


Thanks, I pushed this patchset now.

// Martin

___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [PATCH] headers: Provide __cpuidex for Clang 17

2023-09-12 Thread Martin Storsjö
In 2b6c9247613aa830374e3686e09d3b8d582a92a6, we changed so that
we don't provide __cpuidex for Clang 17 or newer, as Clang itself
provided that as a builtin.

The __cpuidex builtin was added in Clang during the course of
development of Clang 17, but it was reverted before version 17 was
released (it was added initially in
2df77ac20a1ed996706b164b0c4ed5ad140f635f, in llvm-project, on May 24th,
but later reverted in f3baf63d9a1ba91974f4df6abb8f2abd9a0df5b5 on August
4th, which also was cherrypicked to the 17.x release branch).

Clang 17 isn't formally released yet, but it has been agreed to
not reland the change within the 17.x release series.

In current git main of llvm-project, the __cpuidex builtin isn't
yet readded, but it is being planned and it seems likely to
be readded before version 18 gets released in 6 months; thus
bump the version to 18 instead of removing the condition entirely.
Relanding it is being discussed in https://reviews.llvm.org/D158348.

Signed-off-by: Martin Storsjö 
---
 mingw-w64-headers/include/psdk_inc/intrin-impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/psdk_inc/intrin-impl.h 
b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
index 73bb70ec2..97cfaf2e3 100644
--- a/mingw-w64-headers/include/psdk_inc/intrin-impl.h
+++ b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
@@ -2023,7 +2023,7 @@ void __cpuid(int CPUInfo[4], int InfoType) {
 #define __INTRINSIC_DEFINED___cpuid
 #endif /* __INTRINSIC_PROLOG */
 
-#if (!defined(__GNUC__) || __GNUC__ < 11) && (!defined(__clang__) || 
__clang_major__ < 17)
+#if (!defined(__GNUC__) || __GNUC__ < 11) && (!defined(__clang__) || 
__clang_major__ < 18)
 #if __INTRINSIC_PROLOG(__cpuidex)
 void __cpuidex(int CPUInfo[4], int, int);
 #if !__has_builtin(__cpuidex)
-- 
2.34.1



___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public