[Mingw-w64-public] [Discussion] Is it possible to add DirectXMath in mingw-w64?

2020-12-01 Thread Biswapriyo Nath
Some projects like apitrace and assimp need DirectXMath header files. Is it possible to add those here? I am asking this because those header files contain many MSVC specific SIMD intrinsics and preprocessors. ___ Mingw-w64-public mailing list Mingw-w64

Re: [Mingw-w64-public] MinGW cross compile with enable-sjlj-exceptions - linux

2020-11-27 Thread Biswapriyo Nath
> how to bring the MinGW cross compile on Linux into a normal linux build Most popular GNU/Linux distributions already provide mingw-w64 cross compiler and toolchain in their packages. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforg

Re: [Mingw-w64-public] Looks like winver.h needs to include winapifamily.h

2020-11-26 Thread Biswapriyo Nath
> > > In Windows SDK, winver.h does not have that winapifamily.h include. I > > > think winver.h should not be > > > directly included in source code. > > Why not? Yes, you are logically correct, winver.h should include winapifamily.h for that API family macro. I am also thinking of that. But who

[Mingw-w64-public] [PATCH 2/2] headers: Add missing APIs in winnls.h.

2020-11-26 Thread Biswapriyo Nath
From 60eebda984e2cfd560089269ee53906992ff76fc Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 26 Nov 2020 17:56:04 +0530 Subject: [PATCH 2/2] headers: Add missing APIs in winnls.h. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winnls.h | 55

[Mingw-w64-public] [PATCH 1/2] headers: Add missing APIs in realtimeapiset.h.

2020-11-26 Thread Biswapriyo Nath
From 97c7fc35d1b9aaef2c204f9fc08b9504b9feb730 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 26 Nov 2020 17:55:18 +0530 Subject: [PATCH 1/2] headers: Add missing APIs in realtimeapiset.h. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/realtimeapiset.h | 19

Re: [Mingw-w64-public] Looks like winver.h needs to include winapifamily.h

2020-11-25 Thread Biswapriyo Nath
A snippet of that code will be helpful. In Windows SDK, winver.h does not have that winapifamily.h include. I think winver.h should not be directly included in source code. winres.h is generally included in resource files (.rc). Also each function in MS docs[1] says to include windows.h in the sour

[Mingw-w64-public] [PATCH 2/2] crt/libsrc: Include directmanipulation.h in uuid library.

2020-11-13 Thread Biswapriyo Nath
From 41e508b51a61366f73e8f2f1b771568e32ab9301 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 13 Nov 2020 17:56:57 +0530 Subject: [PATCH 2/2] crt/libsrc: Include directmanipulation.h in uuid library. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/libsrc/uuid.c | 1 + 1 file

[Mingw-w64-public] [PATCH 1/2] headers: Import directmanipulation.idl from Wine.

2020-11-13 Thread Biswapriyo Nath
From 03fc5abe0a87bd7f3c3c7dd63c5b9ff4e3a6320b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 13 Nov 2020 17:56:57 +0530 Subject: [PATCH 1/2] headers: Import directmanipulation.idl from Wine. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/Makefile.am| 1 + mingw-w64

[Mingw-w64-public] [PATCH] headers: Replace BOOL with WINBOOL in audioclient.idl.

2020-11-11 Thread Biswapriyo Nath
From 853394cd908f22f1010addbadac4815d8f998896 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 12 Nov 2020 11:49:30 +0530 Subject: [PATCH] headers: Replace BOOL with WINBOOL in audioclient.idl. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/audioclient.idl | 10

[Mingw-w64-public] [PATCH 2/2] headers/d2d1_1: Add macros for C style interfaces.

2020-11-08 Thread Biswapriyo Nath
From 1db2b1f11264a385f3d9eec740a3d11518d9f0a5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 8 Nov 2020 12:55:32 +0530 Subject: [PATCH 2/2] headers/d2d1_1: Add macros for C style interfaces. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/d2d1_1.h | 124

[Mingw-w64-public] [PATCH 1/2] headers/d2d1_1: Add missing symbols.

2020-11-08 Thread Biswapriyo Nath
From 4dfe909859309baa6409d6fff5acfc210862b5ce Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 8 Nov 2020 12:54:35 +0530 Subject: [PATCH 1/2] headers/d2d1_1: Add missing symbols. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/d2d1_1.h | 37

[Mingw-w64-public] [PATCH] crt/dxguid: Add dxgi headers.

2020-11-07 Thread Biswapriyo Nath
From ddfb9b99bd24ff9dbfb028fa3e3f9a3b721213c0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 7 Nov 2020 20:23:49 +0530 Subject: [PATCH] crt/dxguid: Add dxgi headers. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/libsrc/dxguid.c | 8 1 file changed, 8 insertions(+) diff

Re: [Mingw-w64-public] missing C api for direct composition

2020-11-06 Thread Biswapriyo Nath
It is not possible to write dcomp.h in the C language in a normal way. In the dcomp.h header file, there are many interfaces with member function overloading which is not possible in C. For example, See IDCompositionTranslateTransform interface. One can rewrite SetOffsetX function as SetOffsetX_1 a

Re: [Mingw-w64-public] d2d1_1.h : plenty of C API missing

2020-11-05 Thread Biswapriyo Nath
Vincent Torri, if you are not familiar with the header files here, I may send the required patches this week. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] d2d1_1.h : plenty of C API missing

2020-11-04 Thread Biswapriyo Nath
I would like to avoid the manual editing of d2d1 header files. I tried to import d2d1.idl and d2d1_1.idl from wine. widl produces the corresponding headers file without any errors. But while compiling crt, it conflicts with `namespace D2D1` in d2d1helper.h as it is in C++ realm. One thing can be do

Re: [Mingw-w64-public] d2d1_1.h : plenty of C API missing

2020-11-03 Thread Biswapriyo Nath
If you have a project to test new header changes it will be helpful. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] __cxa_thread_atexit destructors on GCC

2020-10-27 Thread Biswapriyo Nath
Off-topic. It may be better if an actual issue link is added in the commit message instead of a hashtag. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] missing dxgidebug import library

2020-10-26 Thread Biswapriyo Nath
OK. The ultimate solution. Provide a simple, minimal, reproducible code and we will provide the command with which it can be successfully compiled. Deal? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.n

Re: [Mingw-w64-public] missing dxgidebug import library

2020-10-25 Thread Biswapriyo Nath
Which specific APIs are you interested in? As far as I know, most of them are COM interfaces. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] Add pthread_attr_getstack and pthread_attr_setstack

2020-10-12 Thread Biswapriyo Nath
make; make check * Attached a patch which I tried but the test_clear fails :( [1]: https://github.com/ElementsProject/libwally-core.git From 77afc84ce427939925f651bfb2569b34c9c1c394 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 12 Oct 2020 21:25:17 +0530 Subject: [PATCH] winpthreads

[Mingw-w64-public] [PATCH] crt: Update powrprof export library.

2020-10-11 Thread Biswapriyo Nath
From 838e5121afc4039ed7606ddbf143aedc08832c96 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 11 Oct 2020 23:19:50 +0530 Subject: [PATCH] crt: Update powrprof export library. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/powrprof.def | 32 ++ mingw-w64

[Mingw-w64-public] [PATCH] crt/lib32: Add bytes of arguments in api-ms-win- files.

2020-10-09 Thread Biswapriyo Nath
From ad5d4c0aca53ba5daa0269596d9ac13a740738bf Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 10 Oct 2020 12:16:00 +0530 Subject: [PATCH] crt/lib32: Add bytes of arguments in api-ms-win- files. Checked with output from 'dumpbin /exports mincore.lib' command in WinSDK. Sig

[Mingw-w64-public] [PATCH] crt/lib32: Add argument bytes in api-ms-win-core-path-l1-1-0.

2020-10-07 Thread Biswapriyo Nath
From 91e684ac2a875ba7ba1836a80a50c0f386c25013 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 8 Oct 2020 01:57:09 +0530 Subject: [PATCH] crt/lib32: Add argument bytes in api-ms-win-core-path-l1-1-0. Signed-off-by: Biswapriyo Nath --- .../lib32/api-ms-win-core-path-l1-1-0.def

[Mingw-w64-public] [PATCH] headers: Add IWMColorConvProps interface in wmcodecdsp.idl.

2020-10-06 Thread Biswapriyo Nath
From 75b3332567480b6408897d752531a8ec320ea5b6 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 7 Oct 2020 10:15:21 +0530 Subject: [PATCH] headers: Add IWMColorConvProps interface in wmcodecdsp.idl. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wmcodecdsp.idl | 17

[Mingw-w64-public] [PATCH 1/2] crt: Update ncrypt export library.

2020-10-05 Thread Biswapriyo Nath
From bc2ddcd7687471ab9bc69ceb9cbbe0a618d3bc4a Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 5 Oct 2020 23:46:07 +0530 Subject: [PATCH 1/2] crt: Update ncrypt export library. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/ncrypt.def | 20 ++ mingw-w64-crt/lib32

[Mingw-w64-public] [PATCH 2/2] headers: Add new functions in ncrypt.h.

2020-10-05 Thread Biswapriyo Nath
From 50ea9744081efcb9f741f6bd2c77a63f78eaf532 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 5 Oct 2020 23:47:22 +0530 Subject: [PATCH 2/2] headers: Add new functions in ncrypt.h. Functions are NCryptCreateClaim and NCryptVerifyClaim for Win10. Signed-off-by: Biswapriyo Nath

Re: [Mingw-w64-public] [PATCH 1/4] headers: Add missing values of MAPPING_ENUM_OPTIONS structure members.

2020-10-05 Thread Biswapriyo Nath
Thanks for the pedantic hint ^_^ From b2283577b5b1a63a8d54f0cfc9c7b283626ea432 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 4 Oct 2020 19:40:54 +0530 Subject: [PATCH 1/4] headers: Add missing values of MAPPING_ENUM_OPTIONS structure members. Also add the conditional "extern C

[Mingw-w64-public] [PATCH 2/4] headers: Add elssrvc.h header file.

2020-10-04 Thread Biswapriyo Nath
From 1372db8f61f993f2af155b867176421e63956c4b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 4 Oct 2020 19:40:54 +0530 Subject: [PATCH 2/4] headers: Add elssrvc.h header file. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/elssrvc.h | 24 1

[Mingw-w64-public] [PATCH 1/4] headers: Add missing values of MAPPING_ENUM_OPTIONS structure members.

2020-10-04 Thread Biswapriyo Nath
From b2283577b5b1a63a8d54f0cfc9c7b283626ea432 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 4 Oct 2020 19:40:54 +0530 Subject: [PATCH 1/4] headers: Add missing values of MAPPING_ENUM_OPTIONS structure members. Also add the conditional "extern C" for C++. Signed-off-by:

[Mingw-w64-public] [PATCH 4/4] headers: Update bcrypt.h header file.

2020-10-04 Thread Biswapriyo Nath
From f6fcadbc9546803e1e01a3556a345198d5de29ce Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 4 Oct 2020 19:40:54 +0530 Subject: [PATCH 4/4] headers: Update bcrypt.h header file. Changes: * Add BCryptCreateMultiHash, BCryptProcessMultiOperations and BCryptHash function declarations

[Mingw-w64-public] [PATCH 3/4] crt: Update bcrypt export library.

2020-10-04 Thread Biswapriyo Nath
From 6d900c43e0d48657b86def7c3c646a9a631d5193 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 4 Oct 2020 19:40:54 +0530 Subject: [PATCH 3/4] crt: Update bcrypt export library. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/bcrypt.def | 1 + mingw-w64-crt/lib32

[Mingw-w64-public] [PATCH] headers: Import d3d12sdklayers from wine.

2020-10-02 Thread Biswapriyo Nath
From 5a0e34eed862aa42d72edf0601d80bb960ba9c44 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 3 Oct 2020 11:01:43 +0530 Subject: [PATCH] headers: Import d3d12sdklayers from wine. Recently ID3D12Debug was moved from d3d12 to d3d12sdklayers. Signed-off-by: Biswapriyo Nath --- mingw

[Mingw-w64-public] [PATCH] crt: Update dxgi export library.

2020-10-02 Thread Biswapriyo Nath
From 8dcc537380ddc50ccd79e00c4c7e6d521c7d9836 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 2 Oct 2020 14:10:03 +0530 Subject: [PATCH] crt: Update dxgi export library. Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/dxgi.def | 6 ++ mingw-w64-crt/lib32/dxgi.def

Re: [Mingw-w64-public] [PATCH] headers/mfidl: Import mftransform.idl instead of header.

2020-09-30 Thread Biswapriyo Nath
Would you like to provide the configure command to build ffmpeg as per your need? ffmpeg has thousands of configure options and I am not familiar with all of them. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.so

Re: [Mingw-w64-public] [PATCH] headers/mfidl: Import mftransform.idl instead of header.

2020-09-30 Thread Biswapriyo Nath
OK, as you wish. ___ 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/mfidl: Import mftransform.idl instead of header.

2020-09-30 Thread Biswapriyo Nath
From 35f208a47a220a365b23f0a06a051990910e5e83 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 30 Sep 2020 13:18:11 +0530 Subject: [PATCH] headers/mfidl: Import mftransform.idl instead of header. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/mfidl.h | 4 ++-- mingw

[Mingw-w64-public] [PATCH] headers/ddraw.h: Add missing dwFlags of DD_BLTDATA struct.

2020-09-27 Thread Biswapriyo Nath
From e0897ac850673a2c38853ddf85216d4401c6a14f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 27 Sep 2020 14:58:06 +0530 Subject: [PATCH] headers/ddraw.h: Add missing dwFlags of DD_BLTDATA struct. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/ddraw.h | 4 1 file

[Mingw-w64-public] [PATCH] include/winres.h: Add IDC_STATIC redefinition.

2020-09-25 Thread Biswapriyo Nath
From 3c49a3fbd74bcc7c706bba2ef3d5da764f0c0482 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 26 Sep 2020 10:27:23 +0530 Subject: [PATCH] include/winres.h: Add IDC_STATIC redefinition. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winres.h | 5 + 1 file changed, 5

Re: [Mingw-w64-public] dwrite_3.h regression fix

2020-09-24 Thread Biswapriyo Nath
> This is suboptimal, but a better solution is unclear and I think that we > should deal with the regression without waiting. In my humble opinion, I would suggest removing/editing **only** the problematic declarations in the C language instead of the whole file, like Liu Hao did with the dxva2api

Re: [Mingw-w64-public] (no subject)

2020-09-24 Thread Biswapriyo Nath
Yes, this is MSYS2's mingw-w64-gcc/binutils issue. You can find related issues here[1]. If you didn't find any issue with your exact problem you can create a new issue there[2]. Or join MSYS2 Gitter channel just for normal discussion[3]. [1]: https://github.com/msys2/MINGW-packages/search?q=--exp

Re: [Mingw-w64-public] missing d3d11on12.h file

2020-09-23 Thread Biswapriyo Nath
If you don't need ID3D11On12Device1 and ID3D11On12Device2 interfaces that d3d11on12.idl file could be imported from wine as is. /cc. Jacek C. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/li

Re: [Mingw-w64-public] binary releases

2020-09-22 Thread Biswapriyo Nath
Alternatively, if you are in Windows you could use mingw-w64 related packages in Cygwin[1] or in MSYS2[2]. You can create your own mingw-w64 packages there with small commands. If you are in any GNU/Linux distribution, those have already packages for mingw-w64 cross compiler toolchain. [1]: https:

Re: [Mingw-w64-public] Trouble with new dwrite underscore notation

2020-09-20 Thread Biswapriyo Nath
I think that some type of workaround for widl. See the IDWriteFontSet interface[1]. IDWriteFontSet interface has three GetPropertyValues methods and two GetMatchingFonts methods. But the function declarations are different, like function overloading which is mitigated with underscore in wine. [1]:

Re: [Mingw-w64-public] Recent runtime revisions break bootstrap of gcc

2020-09-18 Thread Biswapriyo Nath
Try with adding "-D__USE_MINGW_ANSI_STDIO=1" in CFLAGS and/or CXXFLAGS. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] mingw-w64-gcc 10.2.0 with sjlj fails to link: undefined reference to `_Unwind_SjLj_Register'

2020-09-18 Thread Biswapriyo Nath
I have tried this in ArchLinux with mingw-w64-gcc package. In the configure.ac file: 1. Replace "GPG4WIN_RUNTIME_LIBRARY(libgcc_s_sjlj-1)" with "GPG4WIN_RUNTIME_LIBRARY(libgcc_s_seh-1)". 2. Add "/usr/$host/bin/$1.dll" before "/usr/$host/lib/$1.dll". 3. Run "autoreconf -i" command. This change wil

Re: [Mingw-w64-public] mingw-w64-gcc 10.2.0 with sjlj fails to link: undefined reference to `_Unwind_SjLj_Register'

2020-09-17 Thread Biswapriyo Nath
> I am trying to cross-compile gnupg for Windows, which requires sjlj dll. Is there any documentation about this requirement? In MSYS2/MinGW, every package including gnupg is built with gcc configured with disabling sjlj for i686. ___ Mingw-w64-public

[Mingw-w64-public] [PATCH 1/3] headers/sec_api: add fwscanf_s

2020-09-16 Thread Biswapriyo Nath
From eed4bb30be365047ef6173cdf5cbdf368dc41d60 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 16 Sep 2020 23:47:21 +0530 Subject: [PATCH 1/3] headers/sec_api: add fwscanf_s Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/stdio_s.h | 13 + 1 file changed

[Mingw-w64-public] [PATCH 2/3] headers/sec_api: copy fwscanf_s to wchar_s.h file

2020-09-16 Thread Biswapriyo Nath
From 67c74659fb0ff0fd10160d5b7f8258a002157deb Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 16 Sep 2020 23:48:37 +0530 Subject: [PATCH 2/3] headers/sec_api: copy fwscanf_s to wchar_s.h file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/wchar_s.h | 13

[Mingw-w64-public] [PATCH 3/3] headers/sec_api: copy wscanf_s to wchar_s.h file

2020-09-16 Thread Biswapriyo Nath
From f5caed82991b896b1dd179977e48dd568868328c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 16 Sep 2020 23:48:50 +0530 Subject: [PATCH 3/3] headers/sec_api: copy wscanf_s to wchar_s.h file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/wchar_s.h | 11

[Mingw-w64-public] [PATCH 2/3] headers/sec_api: add scanf_s

2020-09-15 Thread Biswapriyo Nath
From 86ac1489df56595d3fc713de1c142f28107ffe8e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Sep 2020 20:03:40 +0530 Subject: [PATCH 2/3] headers/sec_api: add scanf_s Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/stdio_s.h | 11 +++ 1 file changed, 11

[Mingw-w64-public] [PATCH 1/3] headers/sec_api: add fscanf_s

2020-09-15 Thread Biswapriyo Nath
From ec01e3af2930d6bf5e399b02dca6016a394bf29d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Sep 2020 19:49:01 +0530 Subject: [PATCH 1/3] headers/sec_api: add fscanf_s Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/stdio_s.h | 13 + 1 file changed

[Mingw-w64-public] [PATCH 3/3] headers/sec_api: add wscanf_s

2020-09-15 Thread Biswapriyo Nath
From 55b8b2197a83359e5c4bad2a33905a5d67692e68 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Sep 2020 20:45:36 +0530 Subject: [PATCH 3/3] headers/sec_api: add wscanf_s Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/stdio_s.h | 11 +++ 1 file changed, 11

[Mingw-w64-public] [PATCH] crt/libsrc: include string.h for memcmp prototype

2020-09-15 Thread Biswapriyo Nath
From 248953ed766602d0b09918c6293f783ceb643139 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 16 Sep 2020 00:07:25 +0530 Subject: [PATCH] crt/libsrc: include string.h for memcmp prototype This fixes i686 gcc warning: no previous prototype for 'memcmp' Signed-off-by: Biswa

[Mingw-w64-public] [BUG] headers: scanf_s and fscanf_s declarations are absent

2020-09-14 Thread Biswapriyo Nath
With crt and headers from latest git commit, if a program call scanf_s or fscanf_s function mingw-w64-gcc compiler shows implicit declaration warning: warning: implicit declaration of function 'scanf_s'; did you mean 'sscanf_s'? [-Wimplicit-function-declaration] warning: implicit declaration of fu

Re: [Mingw-w64-public] [PATCH 1/2] headers: Add MSABI_LONG macro for long values.

2020-09-12 Thread Biswapriyo Nath
Opps. Forgot to add the file name in git commit. Here is the updated one. From 97a71a12c77633b3e749d8f44a2a230e08525b8e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 13 Sep 2020 10:54:00 +0530 Subject: [PATCH 1/2] headers/ddraw.h: Add MSABI_LONG macro for long values. Signed-off-by

[Mingw-w64-public] [PATCH 2/2] headers/ddraw.h: Replace BOOL with WINBOOL type.

2020-09-12 Thread Biswapriyo Nath
From e52400fd77deccac75b438cc8e8c02f6ce3d75ce Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 13 Sep 2020 10:54:00 +0530 Subject: [PATCH 2/2] headers/ddraw.h: Replace BOOL with WINBOOL type. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/ddraw.h | 20

[Mingw-w64-public] [PATCH 1/2] headers: Add MSABI_LONG macro for long values.

2020-09-12 Thread Biswapriyo Nath
From 97a71a12c77633b3e749d8f44a2a230e08525b8e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 13 Sep 2020 10:54:00 +0530 Subject: [PATCH 1/2] headers: Add MSABI_LONG macro for long values. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/ddraw.h | 36

[Mingw-w64-public] [PATCH] crt: add htmlhelp export library

2020-09-09 Thread Biswapriyo Nath
From 0bc17e734f513ef1423e00b6e8436b002c2af8cd Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 9 Sep 2020 10:43:12 +0530 Subject: [PATCH] crt: add htmlhelp export library library name is libhtmlhelp.a but functions exported from hhcrtl.ocx Signed-off-by: Biswapriyo Nath --- mingw

[Mingw-w64-public] [PATCH] crt: add prntvpt export library

2020-09-07 Thread Biswapriyo Nath
From bd9beab92c6bb9bb94533f1a8b82b807c6862617 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 7 Sep 2020 17:19:00 +0530 Subject: [PATCH] crt: add prntvpt export library Signed-off-by: Biswapriyo Nath --- .../{libarm32 => lib-common}/prntvpt.def | 16 ++--- mingw-w64-

[Mingw-w64-public] [PATCH] headers: Import d3d12.idl from Wine.

2020-09-07 Thread Biswapriyo Nath
From 8f4319aca9c0cc8c3712b36568470df9bf28ee6a Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 7 Sep 2020 17:41:51 +0530 Subject: [PATCH] headers: Import d3d12.idl from Wine. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/Makefile.am| 1 + mingw-w64-headers/wine-import.sh

[Mingw-w64-public] [PATCH] include: add prntvpt.h

2020-09-07 Thread Biswapriyo Nath
From f0fed50e8bc5172e979d052c53e1900dfd18e76b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 7 Sep 2020 14:22:14 +0530 Subject: [PATCH] include: add prntvpt.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/prntvpt.h | 59 + 1 file changed

Re: [Mingw-w64-public] Patch: dwrite update

2020-09-05 Thread Biswapriyo Nath
Shouldn't this dwrite_3 be imported from wine? wine has an IDL format instead of a header file. ___ 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/winver.h: add missing Ex APIs and defines

2020-08-25 Thread Biswapriyo Nath
From 8985eb8d207aec0179f6d6ad998ceb5dc36d3fcb Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 25 Aug 2020 21:30:43 +0530 Subject: [PATCH] headers/winver.h: add missing Ex APIs and defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winver.h | 11 +++ 1 file

[Mingw-w64-public] [PATCH] headers/winres.h: add file, just includes winresrc.h

2020-08-24 Thread Biswapriyo Nath
From cee6884ccca793054dac1a7a7bf7b447bfe7f70d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 24 Aug 2020 23:56:25 +0530 Subject: [PATCH] headers/winres.h: add file, just includes winresrc.h This is used in rc files in Vulkan repositories Signed-off-by: Biswapriyo Nath --- mingw

Re: [Mingw-w64-public] Feature request: ID2D1Context5 (d2d1_3.h)

2020-08-23 Thread Biswapriyo Nath
Do you have a program that can be compiled with the mingw-w64 toolchain that uses the absent ID2D1DeviceContext5 interface? It is needed to check if the newly added header file will be correct or not. ___ Mingw-w64-public mailing list Mingw-w64-public@li

Re: [Mingw-w64-public] headers/xaudio2.idl: use cpp_quote for xaudio2 error codes

2020-08-23 Thread Biswapriyo Nath
This patch is already in wine. I thought it would be better for review if I add my patches one by one instead of one great syncing. OK, I shall wait for the sync. Thank you <3 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net http

[Mingw-w64-public] headers/xaudio2.idl: use cpp_quote for xaudio2 error codes

2020-08-21 Thread Biswapriyo Nath
From 203ac10a2bec1943c3acf37e0a31b8250544e7e0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 21 Aug 2020 20:55:01 +0530 Subject: [PATCH] headers/xaudio2.idl: use cpp_quote for xaudio2 error codes using cpp_quote and casting to HRESULT type helps to retain HRESULT type in the

[Mingw-w64-public] [PATCH] headers: import d3d12shader.idl from wine

2020-08-15 Thread Biswapriyo Nath
From f257d55988b5607c02a124dc657fd640686b9323 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 15 Aug 2020 19:56:11 +0530 Subject: [PATCH] headers: import d3d12shader.idl from wine d3d12shader.h is included in d3dcompiler.h file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers

Re: [Mingw-w64-public] [PATCH 1/2] headers/winuser.h: add missing symbols and defines

2020-08-09 Thread Biswapriyo Nath
Updated. From 5d931ec8139df750f452d5d68afa8109c8f4356e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 9 Aug 2020 11:20:04 +0530 Subject: [PATCH 1/2] headers/winuser.h: add missing symbols and defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winuser.h | 283

[Mingw-w64-public] [PATCH 2/2] headers/windef.h: add missing symbols and defines

2020-08-08 Thread Biswapriyo Nath
From 9e0bc955f8cc23a5d4b76e6adb1c05628cfeaec8 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 9 Aug 2020 11:40:40 +0530 Subject: [PATCH 2/2] headers/windef.h: add missing symbols and defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/windef.h | 38

[Mingw-w64-public] [PATCH 1/2] headers/winuser.h: add missing symbols and defines

2020-08-08 Thread Biswapriyo Nath
From 5d931ec8139df750f452d5d68afa8109c8f4356e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 9 Aug 2020 11:20:04 +0530 Subject: [PATCH 1/2] headers/winuser.h: add missing symbols and defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winuser.h | 283

[Mingw-w64-public] [PATCH] headers: import files from wine

2020-08-01 Thread Biswapriyo Nath
Scratch the previous patch. This is the updated one. From f2a6413db1b72500f6c4a3e14816f5ebe6b1d20d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 2 Aug 2020 00:56:10 +0530 Subject: [PATCH] headers: import files from wine * devpkey.h: required for OpenCL-ICD-Loader * xapo, xaudio2

[Mingw-w64-public] [PATCH] headers: import devpkey.h from wine

2020-07-31 Thread Biswapriyo Nath
From 6af586d39561afc1176684fcd8807705e3a20813 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 31 Jul 2020 23:15:16 +0530 Subject: [PATCH] headers: import devpkey.h from wine Required for OpenCL-ICL-Loader project, current one is empty Signed-off-by: Biswapriyo Nath --- mingw-w64

[Mingw-w64-public] [PATCH 5/5] include/security.h: add CLOUDAP_NAME define

2020-07-27 Thread Biswapriyo Nath
From 37a288401cbdab8c5b05c0248565d82db8178a99 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 28 Jul 2020 10:37:06 +0530 Subject: [PATCH 5/5] include/security.h: add CLOUDAP_NAME define Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/security.h | 10 +- 1 file

[Mingw-w64-public] [PATCH 4/5] include/psapi.h: update union PSAPI_WORKING_SET_EX_BLOCK

2020-07-27 Thread Biswapriyo Nath
From 5acbd3aae5b7cb12d0fb672544b6ec32b320f525 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 28 Jul 2020 10:37:06 +0530 Subject: [PATCH 4/5] include/psapi.h: update union PSAPI_WORKING_SET_EX_BLOCK Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/psapi.h | 35

[Mingw-w64-public] [PATCH 3/5] include/cfgmgr32.h: add missing defines

2020-07-27 Thread Biswapriyo Nath
From 27f87a3ad592638be54055d0bc128e8267b2c7c2 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 28 Jul 2020 10:37:06 +0530 Subject: [PATCH 3/5] include/cfgmgr32.h: add missing defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/cfgmgr32.h | 211

[Mingw-w64-public] [PATCH 1/5] include/sdkddkver.h: add new NTDDI version defines

2020-07-27 Thread Biswapriyo Nath
From 4d76ebeccc76b8959149ccfc0375511ea2823e45 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 28 Jul 2020 10:37:06 +0530 Subject: [PATCH 1/5] include/sdkddkver.h: add new NTDDI version defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/sdkddkver.h | 5 + 1 file

[Mingw-w64-public] [PATCH 2/5] include/cfg.h: add missing defines

2020-07-27 Thread Biswapriyo Nath
From 7ef3aa7f798617944bad019c37c33150f0a3dec2 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 28 Jul 2020 10:37:06 +0530 Subject: [PATCH 2/5] include/cfg.h: add missing defines Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/cfg.h | 110

Re: [Mingw-w64-public] [PATCH 1/4] crt: move opengl32 to lib-common

2020-06-29 Thread Biswapriyo Nath
opengl32.dll and glu32.dll are present latest Windows Insider build for ARM64 in System32 folder. I know the difference between System32 and SyChpe32 ;) ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.n

Re: [Mingw-w64-public] [PATCH 1/4] crt: move opengl32 to lib-common

2020-06-29 Thread Biswapriyo Nath
The opengl32 and glu32 export libraries aren't present in WinSDK but the DLLs are present in the ARM64 Windows 10. I want test glew in ARM64, thought this may be helpful. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://li

[Mingw-w64-public] [PATCH 3/4] crt: move dismapi to lib-common

2020-06-29 Thread Biswapriyo Nath
From a379ecf9e3c3a8b2092eecdd435140d47769d466 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 29 Jun 2020 20:40:00 +0530 Subject: [PATCH 3/4] crt: move dismapi to lib-common Signed-off-by: Biswapriyo Nath --- .../{libarm32 => lib-common}/dismapi.def | 43 mingw-

[Mingw-w64-public] [PATCH 2/4] crt: move glu32 to lib-common

2020-06-29 Thread Biswapriyo Nath
From 27886b533c2defb0c00c41bc4abdbd46d5d6c3ae Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 29 Jun 2020 20:40:00 +0530 Subject: [PATCH 2/4] crt: move glu32 to lib-common Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/{lib64 => lib-common}/glu32.def | 0 mingw-w64-crt/libar

[Mingw-w64-public] [PATCH 4/4] crt: move wimgapi to lib-common

2020-06-29 Thread Biswapriyo Nath
From b84fb7059504eed2e611b101953f0668e7ab763d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 29 Jun 2020 20:40:00 +0530 Subject: [PATCH 4/4] crt: move wimgapi to lib-common Signed-off-by: Biswapriyo Nath --- .../{libarm32 => lib-common}/wimgapi.def | 16 + mingw-w64-

[Mingw-w64-public] [PATCH 1/4] crt: move opengl32 to lib-common

2020-06-29 Thread Biswapriyo Nath
From f2e7b4727e91bc37f15a121f708aa595a5292787 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 29 Jun 2020 20:40:00 +0530 Subject: [PATCH 1/4] crt: move opengl32 to lib-common Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/{lib64 => lib-common}/opengl32.def | 0 mingw-w64-

Re: [Mingw-w64-public] [PATCH 4/5] headers: add ActivateAudioInterfaceAsync API's in mmdeviceapi

2020-06-23 Thread Biswapriyo Nath
In my opinion, in the crt files, the only export function should be ActivateAudioInterfaceAsync and others can be removed. Also `cpp_quote("")` can be removed (past incident). In idl file, ActivateAudioInterfaceAsync may be written in one cpp_quote. ___

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] [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

[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

Re: [Mingw-w64-public] Error in CDB.GET_CONFIGURATION definition (include/ddk/scsi.h)

2020-06-15 Thread Biswapriyo Nath
That file needs some pampering. If you can wait I will try to update it. ___ 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/knownfolders.h: add missing folder ids

2020-06-15 Thread Biswapriyo Nath
From f9b18aaf988d46911eb1380f7df246c7957b9dbf Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 15 Jun 2020 12:45:46 +0530 Subject: [PATCH] headers/knownfolders.h: add missing folder ids Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/knownfolders.h | 31

[Mingw-w64-public] [PATCH] headers: update windows hyperv files

2020-06-13 Thread Biswapriyo Nath
From fc1ebc08cfbe0f31271dfa465d9c3e0d9786f1ca Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 13 Jun 2020 20:42:27 +0530 Subject: [PATCH] headers: update windows hyperv files Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winhvplatform.h | 8 +- mingw-w64-headers

[Mingw-w64-public] [PATCH] headers/apisetcconv.h: add WINSTORAGEAPI

2020-06-12 Thread Biswapriyo Nath
From 03b41e74542509cb54060bfb2cfcd7f608b095a7 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 13 Jun 2020 11:41:38 +0530 Subject: [PATCH] headers/apisetcconv.h: add WINSTORAGEAPI Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/apisetcconv.h | 8 1 file changed

[Mingw-w64-public] [PATCH] crt: add bluetoothapis export library

2020-06-12 Thread Biswapriyo Nath
From a81275b652d52c609044e3407a577918df28c190 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 13 Jun 2020 10:55:28 +0530 Subject: [PATCH] crt: add bluetoothapis export library Signed-off-by: Biswapriyo Nath --- .../bluetoothapis.def | 2 +- mingw-w64-crt

Re: [Mingw-w64-public] [PATCH 1/2] widl: Update the relocatability patch to remove an unused variable

2020-06-12 Thread Biswapriyo Nath
Question. The removal of `int i` declaration may be added with wine-import.sh shell script by mistake. In wine, the int i variable is used in for loop. IMHO, how about editing the wine/widl code? * Now: for (i = 0; i < ARRAY_SIZE(incl_dirs); i++) * Edited: for (int i = 0; i < ARRAY_SIZE(incl_dirs)

Re: [Mingw-w64-public] [PATCH] crt/string: add parentheses to HASZERO macro to suppress gcc warning

2020-06-12 Thread Biswapriyo Nath
Opps... forgot to attach the patch file. From c1cce89a15e8361244e706fc6284e5b64e5106ed Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 12 Jun 2020 14:25:56 +0530 Subject: [PATCH] crt/string: add parentheses to HASZERO macro to suppress gcc warning Signed-off-by: Biswapriyo Nath

[Mingw-w64-public] [PATCH] crt/string: add parentheses to HASZERO macro to suppress gcc warning

2020-06-12 Thread Biswapriyo Nath
I have asked about this parens warnings in musl IRC. They said that in musl the configure script by default disables the style rule warnings. So, I have added those here. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://li

Re: [Mingw-w64-public] [PATCH] crt: remove WaitOnAddress/WakeByAddressXXX from kernel32

2020-06-05 Thread Biswapriyo Nath
Instead of deleting, those can be made as a comment. Also add a comment to use synchronization.lib for those. See OpenProcessToken as a reference. The same change is required in crt/lib32 folder. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.s

[Mingw-w64-public] [PATCH] headers: import dwrite IDLs from wine

2020-06-04 Thread Biswapriyo Nath
From 61380782a0507fb18dad9df050a991a0a9945363 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 5 Jun 2020 11:58:38 +0530 Subject: [PATCH] headers: import dwrite IDLs from wine Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/Makefile.am| 4 mingw-w64-headers/wine

Re: [Mingw-w64-public] [PATCH 1/3] crt: ucrt.mri: Use one shared mri file for all architectures

2020-06-04 Thread Biswapriyo Nath
How about putting the _DATA variable into each folder's Makefile.am? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

<    1   2   3   4   5   6   7   8   9   >