Based on patch by Tom Ritter.
Tom explained it here:
https://sourceforge.net/p/mingw-w64/mailman/message/36238073/
I added WIDL_EXPLICIT_AGGREGATE_RETURNS preprocessor guards so that it's
not used then not needed.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/i
On 04/20/2018 05:34 PM, Jacek Caban wrote:
> On 04/19/2018 04:31 PM, Tom Ritter wrote:
>> I feel pretty confident that this line has a bug, and the for
>> initialization should be 'target = RenderTarget'
>>
>> https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree
On 04/19/2018 04:31 PM, Tom Ritter wrote:
> I feel pretty confident that this line has a bug, and the for
> initialization should be 'target = RenderTarget'
>
> https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/direct-x/include/d3d11.h#l1644
>
> I was getting errors in
On 03/15/2018 02:54 PM, Ebrahim Byagowi wrote:
> Oh, I see, done.
Looks good to me. I pushed that to Git.
Thanks,
Jacek
--
Check out the vibrant tech community on one of the world's most
engaging tech sites,
Hi Ebrahim,
#ifndef __cplusplus inside IDWriteTextAnalyzer1 should be around all
parent interfaces' methods (IDWriteTextAnalyzer in this case), not just
IUnknown.
Thanks,
Jacek
On 3/14/18 12:19 AM, Ebrahim Byagowi wrote:
Spotted one minor issue on the patch, here is another
On Wed,
Hi Ruslan,
On 2/17/18 5:45 PM, Ruslan Garipov wrote:
diff --git a/mingw-w64-headers/include/uianimation.h
b/mingw-w64-headers/include/uianimation.h
index 5fce04b9..7893ba56 100644
--- a/mingw-w64-headers/include/uianimation.h
+++ b/mingw-w64-headers/include/uianimation.h
Please fix the IDL
. "result file" of the 'widl').
Can you help me with that?
On February 19, 2018 2:07:03 AM Jacek Caban <ja...@codeweavers.com>
wrote:
Hi Ruslan,
On 2/17/18 5:45 PM, Ruslan Garipov wrote:
diff --git a/mingw-w64-headers/include/uianimation.h
b/mingw-w64-headers/include/uian
Based on patch by Ruslan Garipov.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/uianimation.idl | 6 ++
1 file changed, 6 insertions(+)
diff --git a/mingw-w64-headers/include/uianimation.idl b/mingw-w64-headers/include/uianimation.idl
index e0
Hi Tom,
On 2/27/18 6:04 AM, Tom Ritter wrote:
This patch adds wrapper functions around methods that are affected by
the stdcall function returning an aggregate is incompatible with MS
ABI gcc bug
Background
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/misc/onexit_table.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-crt/misc/onexit_table.c b/mingw-w64-crt/misc/onexit_table.c
index 50d9f3d0..69f2ea71 100644
--- a/mingw-w64-cr
This reverts 9b27e7e9ce13d05de3527878031e47cfe6eca06b. We update VERSION
file to Wine version, which is imported into configure script.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-tools/widl/wine-import.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/min
Hi Mateusz,
On 1/22/18 9:18 PM, Mateusz wrote:
GCC 8 from r248028 has defined function _xgetbv and we should
avoid double definition of this function.
Please review.
The patch looks good to me.
Thanks,
Jacek
--
On 01/22/2018 09:30 PM, Kai Tietz via Mingw-w64-public wrote:
> Hmm, ok. Shouldn't we special case unnamed union/struct?
Unless I'm missing something, all structs are named in this patch.
Thanks for reviews,
Jacek
Hi Tom,
On 01/22/2018 07:15 PM, Tom Ritter wrote:
> mingw-w64-headers/include/error.h| 1 +
> mingw-w64-headers/include/winerror.h | 1 +
> mingw-w64-headers/include/winnt.h| 29 -
> mingw-w64-tools/widl/include/winnt.h | 1 +
The version in widl/
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/dwrite_3.h | 587
+++
1 file changed, 587 insertions(+)
create mode 100644 mingw-w64-headers/include/dwrite_3.h
diff --git a/mingw-w64-headers/include/dwrite_3.h b/mingw-w64-h
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/dwrite_1.h | 53
1 file changed, 53 insertions(+)
diff --git a/mingw-w64-headers/include/dwrite_1.h b/mingw-w64-headers/include/dwrite_1.h
index c0d15acb..56728da1
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/d2d1_1.h | 1 -
mingw-w64-headers/include/d2dbasetypes.h | 9 -
mingw-w64-headers/include/dcommon.h | 22 ++
3 files changed, 22 insertions(+), 10 deletions(-)
diff
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/dwrite.h | 4
1 file changed, 4 insertions(+)
diff --git a/mingw-w64-headers/include/dwrite.h b/mingw-w64-headers/include/dwrite.h
index 122d0bf6..7269dff5 100644
--- a/mingw-w64-headers/include/dwrite.h
On 01/21/2018 05:26 PM, Kai Tietz via Mingw-w64-public wrote:
> Patch is ok. But this is indeed problematic that clang doesn't support
> different scanf/printf warning API.
> For C99 printf/canf formatter diagnostic the produced warnings will be
> wrong for this compiler.
Yeah, I hope it will be
clang doesn't support it, so it emits tons of warnings.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/crt/stdio.h | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/s
Hi,
On 1/20/18 8:54 PM, Mateusz wrote:
Hello,
The patch "intrin-impl.h: Use volatile argument for __buildbittesti-based
functions."
is not working well for me (I can't compile GCC with this patch).
The problem is with one extra 'volatile':
@@ -615,28 +614,28 @@ __buildstos(__stosq,
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/psdk_inc/intrin-impl.h | 83
1 file changed, 41 insertions(+), 42 deletions(-)
diff --git a/mingw-w64-headers/include/psdk_inc/intrin-impl.h b/mingw-w64-headers/include/psdk_inc/
On 01/12/2018 03:25 AM, Liu Hao wrote:
> On 2018/1/12 4:28, Jacek Caban wrote:
>> Fixes compilation with clang.
>>
>> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
>> ---
>> mingw-w64-headers/include/psdk_inc/intrin-impl.h | 16
On 01/12/2018 09:14 AM, Martin Storsjö wrote:
> None of the imported files actually are part of the autoconf/automake
> source files, so no import currently would actually require
> rerunning this.
>
> If the import script is adjusted to touch Makefile.am or configure.ac,
> such a command probably
On 01/12/2018 09:14 AM, Martin Storsjö wrote:
> This patch doesn't make much sense for use in wine and probably
> can't be upstreamed as such.
Well, I think that such feature could be accepted to Wine, but current
code doesn't seem to be in a shape acceptable upstream.
> This also reapplies the
On 01/12/2018 09:14 AM, Martin Storsjö wrote:
> Some of the imported source files are autogenerated, and if wine
> was built outside of the source tree, the caller of wine-import.sh
> needs to provide paths to both trees.
>
> In such an import, the generated bison/flex files will have stray
>
On 01/12/2018 09:14 AM, Martin Storsjö wrote:
> There is no such file present in upstream wine, nor in the current
> mingw-w64 tree either.
>
> Signed-off-by: Martin Storsjö
> ---
> mingw-w64-tools/widl/wine-import.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
On 01/12/2018 09:14 AM, Martin Storsjö wrote:
> These seem to have been removed by mistake as part of a change
> touching the line above, in 4581de347f.
>
> Signed-off-by: Martin Storsjö
> ---
> mingw-w64-tools/widl/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1
On 01/12/2018 03:36 AM, Liu Hao wrote:
> On 2018/1/12 4:31, Jacek Caban wrote:
>> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
>> ---
>> mingw-w64-crt/Makefile.am | 1 +
>> mingw-w64-crt/misc/onexit_table.c | 74
>>
On 01/11/2018 10:00 PM, Martin Storsjö wrote:
> On Thu, 11 Jan 2018, Jacek Caban wrote:
>
>> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
>> ---
>> mingw-w64-crt/crt/ucrtbase_compat.c | 58
>> -
>> 1 file changed,
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/crt/ucrtbase_compat.c | 58
-
1 file changed, 58 deletions(-)
diff --git a/mingw-w64-crt/crt/ucrtbase_compat.c b/mingw-w64-crt/crt/ucrtbase_compat.c
index 9b63565e..fcdc8cae
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/Makefile.am| 2 +-
mingw-w64-crt/crt/atonexit.c | 60
mingw-w64-crt/crt/crtdll.c | 29 ++---
mingw-w64-crt/crt/crtexe.c | 9 ---
4 files chang
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/Makefile.am | 1 +
mingw-w64-crt/misc/onexit_table.c | 74
+++
2 files changed, 75 insertions(+)
create mode 100644 mingw-w64-crt/misc/onexit_table.c
diff --git a/mingw-w
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/crt/atonexit.c| 1 +
mingw-w64-crt/crt/charmax.c | 3 ++-
mingw-w64-crt/crt/tlssup.c | 8 +---
mingw-w64-crt/crt/ucrtbase_compat.c | 1 +
mingw-w64-crt/include/internal.h
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/crt/corecrt_startup.h | 12
1 file changed, 12 insertions(+)
diff --git a/mingw-w64-headers/crt/corecrt_startup.h b/mingw-w64-headers/crt/corecrt_startup.h
index bd51b61b..2f47cb51 100644
--- a/min
Fixes compilation with clang.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/include/psdk_inc/intrin-impl.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/mingw-w64-headers/include/psdk_inc/intrin-impl.h b/mingw-w64-h
On 01/11/2018 04:45 AM, Liu Hao wrote:
> On 2018/1/11 6:21, Jacek Caban wrote:
>> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
>> ---
>> mingw-w64-headers/include/psdk_inc/intrin-impl.h | 16
>> 1 file changed, 8 insertions(+), 8 deletions(
Fixes compilation with clang.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
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/
On 22.12.2017 16:48, shinchiro wrote:
> Looking into the import script, dxva2api.idl doesn't exist there. Is
> it possible to add that too since there some functions missing
> compared to wine's version?
Sure, we could do that. However, we need to make sure that Wine version
is not missing
On 18.12.2017 21:57, Martin Storsjö wrote:
> 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
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
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: Jace
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 <ja...@codeweavers.com>
---
mingw-w64-crt/Makefile.am | 1 +
mingw-w64-crt/crt/crtexe.c | 2 +-
mingw-w64-c
.
That said, I propose to use upstream Wine upstream version and resurrect
import script in the tree. Dropped patches (needed for some winrt IDLs)
are easy to get from Git (just use a commit prior to this one). We could
even create a separated branch for that, if desired.
Signed-off-by: Jacek Caban <
it again.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/wine-import.sh | 189
+++
1 file changed, 189 insertions(+)
create mode 100755 mingw-w64-headers/wine-import.sh
diff --git a/mingw-w64-headers/wine-import.sh b/min
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 <ja...@codeweavers.com>
---
mingw-w64-headers/crt/_mingw.h.in | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
Looks good as well.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/sl
Looks good to me.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/sl
On 11/28/17 10:30 AM, Kai Tietz via Mingw-w64-public wrote:
Hello Martin,
patch is ok. Please go ahead and commit, if Jacek has no objections.
The patch looks good to me as well. Thanks a lot for taking care of that!
Jacek
On 24.11.2017 20:45, Martin Storsjö wrote:
> On Fri, 24 Nov 2017, Jacek Caban wrote:
>
>>
>> It's properly forwarded by crt import libs.
>>
>> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
>> ---
>> mingw-w64-crt/Makefile.am
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/crt/ucrtbase_compat.c | 8
mingw-w64-crt/include/internal.h| 12
2 files changed, 20 deletions(-)
diff --git a/mingw-w64-crt/crt/ucrtbase_compat.c b/mingw-w64-crt/crt/ucrtbase_compat.c
index cb
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/crt/corecrt_startup.h | 23 +++
mingw-w64-headers/crt/process.h | 1 +
2 files changed, 24 insertions(+)
create mode 100644 mingw-w64-headers/crt/corecrt_startup.h
diff --git a/min
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/Makefile.am | 2 +-
mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++
mingw-w64-crt/stdio/vsnprintf_s.c | 16
3 files changed, 3 insertions(+), 17 deletions(-)
It's properly forwarded by crt import libs.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-crt/Makefile.am | 2 +-
mingw-w64-crt/stdio/vsnprintf.c | 13 -
2 files changed, 1 insertion(+), 14 deletions(-)
delete mode 100644 mingw-w64-crt/stdio/vsnpr
On 24.11.2017 11:37, Martin Storsjö wrote:
> MSVC doesn't provide these functions as global symbols at the linker
> level, but there you must include a header to make them work.
>
> Additionally, for the wchar versions, you can currently override the
> behaviour by setting
Hi Martin,
On 11/24/17 11:03 AM, Martin Storsjö wrote:
---
mingw-w64-headers/crt/conio.h | 214 +-
1 file changed, 209 insertions(+), 5 deletions(-)
Since we already know that we often need such functions in
libucrtbase.a, wouldn't it make more
Hi Shinchiro,
On 20.11.2017 10:46, Shinchiro Shinchiro wrote:
> Actually, I tried to create diff between wine's widl and mingw-w64's
> widl before but maybe it's difficult to cherry-pick changes that never
> got upstreamed
I can see that your patches remove changes from mingw-w64 branch. If
Hi Martin,
On 11/17/17 9:20 PM, Martin Storsjö wrote:
We can't redirect these to the function calls via defines, since "#define
timezone _timezone" will break any code that uses e.g. "struct timezone",
since "_timezone" is a define that expands into "(* __timezone())".
We can provide compat
On 17.11.2017 18:45, Martin Storsjö wrote:
> On Fri, 17 Nov 2017, Jacek Caban wrote:
>
>> On 17.11.2017 10:12, Martin Storsjö wrote:
>>> + HANDLE ucrt;
>>> +
>>> + ucrt = GetModuleHandle("ucrtbase.dll");
>>> + real__tzset =
On 17.11.2017 10:12, Martin Storsjö wrote:
> + HANDLE ucrt;
> +
> + ucrt = GetModuleHandle("ucrtbase.dll");
> + real__tzset = (void __cdecl (*)(void)) GetProcAddress(ucrt, "_tzset");
Can we get away without GetModuleHandle()/GetProcAddress()? For example:
keep _tzset in .def file and call it
On 16.11.2017 20:46, Martin Storsjö wrote:
> So even with the latest MSVC, _snprintf retains the legacy behaviour,
> and the same goes for vsnprintf vs _vsnprintf.
That good to know. Thanks for testing.
Jacek
--
On 16.11.2017 14:59, Martin Storsjö wrote:
> On Thu, 16 Nov 2017, Jacek Caban wrote:
>
>> Hi Martin,
>>
>> The patch looks generally good to me. I'm fine with committing it.
>>
>> As a side note, I expect this patch to also fix winpthread (built with
>&g
On 16.11.2017 14:40, Martin Storsjö wrote:
> On Thu, 16 Nov 2017, Jacek Caban wrote:
>
>> Hi Martin,
>>
>> On 15.11.2017 21:06, Martin Storsjö wrote:
>>> diff --git a/mingw-w64-crt/crt/ucrtbase_compat.c
>>> b/mingw-w64-crt/crt/ucrtbase_compat.c
>>>
Hi Martin,
The patch looks generally good to me. I'm fine with committing it.
As a side note, I expect this patch to also fix winpthread (built with
toolchain defaulting default msvcrt.dll) linking problems that I saw
when tried your patches.
On 15.11.2017 23:11, Martin Storsjö wrote:
> This
Hi Martin,
On 15.11.2017 21:06, Martin Storsjö wrote:
> diff --git a/mingw-w64-crt/crt/ucrtbase_compat.c
> b/mingw-w64-crt/crt/ucrtbase_compat.c
> index c02c476..4f840ea 100644
> --- a/mingw-w64-crt/crt/ucrtbase_compat.c
> +++ b/mingw-w64-crt/crt/ucrtbase_compat.c
> @@ -24,6 +24,7 @@
> #include
On 14.11.2017 11:29, Shinchiro Shinchiro wrote:
> So how about the status of this issue?
It still needs debugging, AFAIK.
Cheers,
Jacek
--
Check out the vibrant tech community on one of the world's most
engaging tech
I would prefer to have the same names for headers and crt configure
arguments. Other than that, it looks good to me.
Thanks,
Jacek
On 11/10/17 10:07 PM, Kai Tietz via Mingw-w64-public wrote:
Patch looks ok to me. Jacek any comments?
Thanks
Kai
Am 10.11.2017 21:50 schrieb "Martin Storsjö"
| 8 +--
> mingw-w64-headers/crt/stdio.h | 9 ---
> mingw-w64-headers/crt/wchar.h | 9 ---
> 6 files changed, 135 insertions(+), 56 deletions(-)
> create mode 100644 mingw-w64-crt/stdio/acrt_iob_func.c
Looks good now.
Thanks,
Hi Martin,
On 09.11.2017 20:33, Martin Storsjö wrote:
> if !W32API
> -lib32_DATA += lib32/libglut.a lib32/libmsvcp60.a lib32/libmsvcr80.a
> lib32/libmsvcr90.a lib32/libmsvcr90d.a lib32/libmsvcr100.a \
> - lib32/libmsvcr110.a lib32/libmsvcr120.a
> lib32/libmsvcr120d.a
TIME_INLINE __CRT_INLINE
> +#endif
As an unrelated side note, I'd be tempted to say that it would be a nice
thing to do for other versions as well.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
-)
Looks good to me.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Hi Martin,
On 09.11.2017 15:59, Martin Storsjö wrote:
> +AC_MSG_CHECKING([default __MSVCRT_VERSION__])
> +AC_ARG_WITH([default-msvcrt-version],
> + [AS_HELP_STRING([--with-default-msvcrt-version=VER],
> +[Default value of __MSVCRT_VERSION__ (default: 0x700)])],
> + [],
> +
sjö <mar...@martin.st>
> ---
> mingw-w64-crt/Makefile.am | 4
> 1 file changed, 4 deletions(-)
As soon as patch 1/2 is committed, this looks good.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Hi Martin,
On 09.11.2017 16:00, Martin Storsjö wrote:
> This makes sure that all code in libmingwex that refers to stderr
> etc will work correctly even if linked to ucrtbase.
>
> Signed-off-by: Martin Storsjö
> ---
> mingw-w64-crt/Makefile.am | 121
>
On 11/9/17 1:08 PM, Martin Storsjö wrote:
Just one detail:
Note that supporting legacy behavior in this care is easy. One can
achieve that with -D__USE_MINGW_ANSI_STDIO=0.
Not quite - if you're in an environment that defaults to ucrtbase, you
need to set
Hello,
On 11/9/17 11:10 AM, Martin Storsjö wrote:
On Thu, 9 Nov 2017, Kai Tietz via Mingw-w64-public wrote:
Hmm, C99 support is pretty important for the gnu world. Nevertheless
patch ok. Please go ahead.
Yup, I know. However, right now if you build with msvcrt.dll and use
e.g. wprintf(),
On 08.11.2017 23:19, Martin Storsjö wrote:
> - Fix getopt by using __p___argv there instead of __argv, as Jacek
> suggested. In order to do this, I ended up cleaning up a few other
> inconsistencies surrounding the build of msvcr* dlls/defs while
> I was touching that area, cleanly separated
On 08.11.2017 23:19, Martin Storsjö wrote:
> We provide a version of __p___argv in all msvcrt versions now. This
> allows linking getopt from libmingwex against ucrtbase.
>
> Signed-off-by: Martin Storsjö
> ---
> mingw-w64-crt/misc/getopt.c | 2 +-
> 1 file changed, 1
..@martin.st>
> ---
> mingw-w64-crt/lib-common/msvcrt.def.in | 2 ++
> 1 file changed, 2 insertions(+)
Looks good to me.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Check out
changed, 2 insertions(+), 2 deletions(-)
Looks good to me.
Thanks,
Jacek
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slash
On 08.11.2017 23:19, Martin Storsjö wrote:
> + // We have a fallback definition of __p___argv for msvcrt versions that
> + // lack it, so always declare it as available, but without _CRTIMP.
> + char ***__cdecl __p___argv(void);
How about using __MINGW_IMP_SYMBOL in compat implementation so
t/lib32/crtdll.def | 1 +
> mingw-w64-crt/lib32/msvcr80.def.in | 1 +
> mingw-w64-crt/lib64/crtdll.def | 1 +
> mingw-w64-crt/lib64/msvcr80.def.in | 1 +
> 5 files changed, 4 insertions(+), 16 deletions(-)
Looks good to me.
Thanks,
Jacek
Signed-off
On 08.11.2017 14:30, Martin Storsjö wrote:
> On Wed, 8 Nov 2017, Jacek Caban wrote:
>
>> Hi Martin,
>>
>>
>> On 11/7/17 10:29 PM, Martin Storsjö wrote:
>>> I've tested our support for ucrtbase.dll a bit further by trying
>>> building
>>> a
Hi Martin,
On 07.11.2017 22:29, Martin Storsjö wrote:
> Alternatively, we could just skip providing these when building with
> ucrtbase, but that would require updating any calling code.
That's a tempting solution. It seems to be deprecated for years now. Do
you know a real code that needs it?
Hi Martin,
On 11/7/17 10:29 PM, Martin Storsjö wrote:
Normally calling code should use the right version of headers,
but the getopt implementation in libmingwex will have a hardcoded
reference to __imp___argv.
I think it would be better to add __p___argv (a trivial wrapper around
__argv) to
Hi Martin,
On 11/7/17 10:29 PM, Martin Storsjö wrote:
I've tested our support for ucrtbase.dll a bit further by trying building
a handful of libraries with it, and fixing the issues I run into. With
these patches, I'm able to build among others Qt (tested with 5.7.1).
That's good to hear.
On 07.11.2017 17:03, Shinchiro Shinchiro wrote:
> Forgot to mention the compiler, widl actually is working fine. The
> culprit is in some idl files which might be outdated which produce
> segfault (in dxgi1_6.idl case)
That's interesting. Do you know which ones?
BTW, widl crash is a bug in widl
On 07.11.2017 15:42, Liu Hao wrote:
> On 2017/11/7 21:55, Jacek Caban wrote:
>> On 07.11.2017 14:42, Shinchiro Shinchiro wrote:
>>
>>> There's bug in some mingw-w64's idls which give segfault with
>>> widl which of course fixed in wine
>>
>> Yeah, imp
On 07.11.2017 14:42, Shinchiro Shinchiro wrote:
> At the moment, only directx idl is imported from wine. I want to suggest
> you to import other IDLs from wine/include too if it doesn't break
> anything.
That's not really true, there are some other IDLs. I occasionally import
some more. If you
On 07.11.2017 13:48, Martin Storsjö wrote:
> This simplifies the compat wrapper quite significantly, and the
> workarounds weren't sufficient in any case (the local __mb_cur_max
> value only was updated if the current module set the locale).
>
> Signed-off-by: Martin Storsjö
>
On 07.11.2017 13:48, Martin Storsjö wrote:
> This avoids having libmingwex refer to the dllimported data symbol
> from msvcrt.dll, easing linking to ucrtbase.dll which doesn't have
> it exported as a data symbol.
>
> ___mb_cur_max_func didn't exist in msvcrt.dll until Windows XP,
> while
Hi Martin,
On 11/5/17 12:25 PM, Martin Storsjö wrote:
#ifdef __MINGW_INTRIN_INLINE
-#if !defined (__clang__)
+#if !defined (__clang__) || (__clang_major__ > 3 || __clang_major__ == 3 &&
__clang_minor__ >= 4)
Could __has_builtin be used instead?
Thanks,
Jacek
On 26.10.2017 20:13, Tom Ritter wrote:
> We missed one, here is the additional patch.
Looks good, I pushed it to the repo.
Thanks,
Jacek
--
Check out the vibrant tech community on one of the world's most
engaging tech
Hi Tom,
On 10/17/17 7:16 AM, Tom Ritter wrote:
Attached is a patch that I think, maybe, resolves the issue in
https://bugzilla.mozilla.org/show_bug.cgi?id=1372958#c10
The attachment didn't make it to the mailing list.
Thanks,
Jacek
On 11.10.2017 14:18, Shinchiro Shinchiro wrote:
> On Wed, Oct 11, 2017 at 6:38 PM, Jacek Caban wrote:
>
> Oh, right, I didn't mean to commit that at all. The problem is
> that mingw-w64 version of widl crashes on that IDL. It needs an
> investigation (and proba
On 11.10.2017 12:47, Leif AMO wrote:
> On 2017-10-10 17:13, Jacek Caban wrote:
>> Importing from Wine is scripted, but the script for that is not
>> public for quite a while. We used to have it in experimental branch
>> of SVN, but it didn't survive move to Git. I
On 11.10.2017 12:25, Shinchiro Shinchiro wrote:
> On Wed, Oct 11, 2017 at 5:23 PM, Jacek Caban wrote:
>
> They were not really excluded, but simply not added. The update
> was huge already, I wanted to do that separately. I committed it
> now, please give it a try.
&g
On 10/11/17 5:15 AM, Shinchiro Shinchiro wrote:
Is there a reason why latest pull from wine doesn't include new directx
file
like d3d11_3 and such?
They were not really excluded, but simply not added. The update was huge
already, I wanted to do that separately. I committed it now, please
Please review.
Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
mingw-w64-headers/crt/stdio.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h
index 34aae9ad..0d9cf1c7 100644
--- a/mingw-w64-heade
Hi Martin,
On 9/23/17 4:50 PM, Martin Storsjö wrote:
--- a/mingw-w64-crt/crt/pseudo-reloc.c
+++ b/mingw-w64-crt/crt/pseudo-reloc.c
@@ -145,11 +145,13 @@ __report_error (const char *msg, ...)
#else
va_list argp;
va_start (argp, msg);
+ /* Intentionally avoid optimizing fprintf with a
401 - 500 of 809 matches
Mail list logo