Re: [Mingw-w64-public] [PATCH] Always use __p__fmode for _fmode.

2017-12-18 Thread Jacek Caban
On 18.12.2017 21:56, Martin Storsjö wrote: > On Mon, 18 Dec 2017, Jacek Caban wrote: > >> >> It requires adding compatibility code for x86_64 msvcrt version. I don't >> have arm setup to test, but I assume it's present there. > > Based on the msvcrt.dll from Win10 IoT on arm, the arm msvcrt.dll > d

Re: [Mingw-w64-public] [PATCH] Updated widl to Wine 3.0-rc2 version.

2017-12-18 Thread Martin Storsjö
On Mon, 18 Dec 2017, Jacek Caban wrote: We were unable to do that for a long time, because of additional mingw-w64 patches that were committed on top of upstream version. Those patches started implementing winrt features, but were never finished (and were never compatible with midl). I implement

Re: [Mingw-w64-public] [PATCH] Always use __p__fmode for _fmode.

2017-12-18 Thread Martin Storsjö
On Mon, 18 Dec 2017, Jacek Caban wrote: It requires adding compatibility code for x86_64 msvcrt version. I don't have arm setup to test, but I assume it's present there. Based on the msvcrt.dll from Win10 IoT on arm, the arm msvcrt.dll doesn't have this function (which matches our msvcrt.def

Re: [Mingw-w64-public] [PATCH 1/2] _mingw.h.in: Use __has_builtin in widl-friendly way.

2017-12-18 Thread Jacek Caban
On 18.12.2017 21:50, Martin Storsjö wrote: > On Mon, 18 Dec 2017, Jacek Caban wrote: > >> This is a workaround, widl can't handle parametrized macro as #if >> expression. Ideally, widl preprocessor should support this syntax. >> >> Signed-off-by: Jacek Caban >> --- >> >> mingw-w64-headers/crt/_min

Re: [Mingw-w64-public] [PATCH 1/2] _mingw.h.in: Use __has_builtin in widl-friendly way.

2017-12-18 Thread Martin Storsjö
On Mon, 18 Dec 2017, Jacek Caban wrote: This is a workaround, widl can't handle parametrized macro as #if expression. Ideally, widl preprocessor should support this syntax. Signed-off-by: Jacek Caban --- mingw-w64-headers/crt/_mingw.h.in | 11 ++- 1 file changed, 6 insertions(+), 5 del

[Mingw-w64-public] [PATCH] Always use __p__fmode for _fmode.

2017-12-18 Thread Jacek Caban
It requires adding compatibility code for x86_64 msvcrt version. I don't have arm setup to test, but I assume it's present there. Signed-off-by: Jacek Caban --- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/crt/crtexe.c | 2 +- mingw-w64-crt/crt/ucrtbase_compat.c | 2 --

[Mingw-w64-public] [PATCH] Updated widl to Wine 3.0-rc2 version.

2017-12-18 Thread Jacek Caban
We were unable to do that for a long time, because of additional mingw-w64 patches that were committed on top of upstream version. Those patches started implementing winrt features, but were never finished (and were never compatible with midl). I implemented some of those in midl compatible way in

[Mingw-w64-public] [PATCH 2/2] wine-import.sh: Added Wine import script.

2017-12-18 Thread Jacek Caban
I use it for imports from Wine for years. It used to be in experimental SVN branch, but got lost from official repos during move to Git. I think that mingw-w64-headers is the right place to store it, esp. given that this way we'd track what's imported a bit better. Also others will be able to use i

[Mingw-w64-public] [PATCH 1/2] _mingw.h.in: Use __has_builtin in widl-friendly way.

2017-12-18 Thread Jacek Caban
This is a workaround, widl can't handle parametrized macro as #if expression. Ideally, widl preprocessor should support this syntax. Signed-off-by: Jacek Caban --- mingw-w64-headers/crt/_mingw.h.in | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mingw-w64-header