Re: [Mingw-w64-public] [PATCH] headers: Use asm() for redirecting time functions, instead of inline functions

2024-05-08 Thread Kai Tietz via Mingw-w64-public
Hi, thanks for working on this and unifying this inlining issues. Looks good to me. Thanks Kai Am Mi., 8. Mai 2024 um 14:23 Uhr schrieb Martin Storsjö : > > Prior to 1652e9241b5d8a5a779c6582b1c3c4f4a7cc66e5, the inline > functions always were static. Due to reexporting such symbols > in C++20 m

Re: [Mingw-w64-public] [PATCH] crt: Implement the __stpcpy_chk function

2022-10-14 Thread Kai Tietz via Mingw-w64-public
Thanks! Am Fr., 14. Okt. 2022 um 15:24 Uhr schrieb Martin Storsjö : > > On Fri, 14 Oct 2022, Kai Tietz wrote: > > > Yes, look good to me. Wouldn't it make sense to add __mingww64_stpcpy > > function, so we could provide this function in an more compatible way? > > I don't see the direct need for

Re: [Mingw-w64-public] [PATCH] crt: Implement the __stpcpy_chk function

2022-10-14 Thread Kai Tietz via Mingw-w64-public
Yes, look good to me. Wouldn't it make sense to add __mingww64_stpcpy function, so we could provide this function in an more compatible way? Thanks, Kai Am Fr., 14. Okt. 2022 um 14:16 Uhr schrieb LIU Hao : > > 在 2022/10/14 19:38, Martin Storsjö 写道: > > Initially, it may seem like this function m

[Mingw-w64-public] Hello, some of you might know Ray Donnelly. I have sad news about him. He still fights the cancer, but it seems he has lost the fight. So he stays right now in this hospice. Maybe y

2021-04-16 Thread Kai Tietz via Mingw-w64-public
GoFundMe zu unterstützen: https://gofund.me/83986499. Best regards, Kai Tietz ___ 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] crt: Build the SEH inline assembly with clang 7

2018-08-14 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai We might could introduce a helper macro in _mingw_mac.h for it? 2018-08-14 13:55 GMT+02:00 Liu Hao : > 在 2018-08-14 19:21, Martin Storsjö 写道: >> Clang got support for the .rva assembler directive soon before >> the clang 7.0 release branch was made. >> >> This breaks use

Re: [Mingw-w64-public] [PATCH] crt: x86: Add missing clobbers in the cossin inline assembly

2018-03-12 Thread Kai Tietz via Mingw-w64-public
Thanks for fixing this. Please apply. Kai 2018-03-12 21:34 GMT+01:00 Martin Storsjö : > This fixes the function when built with clang. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/math/x86/cossin.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/mingw-

Re: [Mingw-w64-public] [PATCH] crt: Use __attribute__((force_align_arg_pointer)) for aligning the stack on entry

2018-03-11 Thread Kai Tietz via Mingw-w64-public
Ok. Thanks Kai 2018-03-11 23:29 GMT+01:00 Martin Storsjö : > This attribute is available since GCC 4.2. > > The previous trick of using inline assembly for overriding the stack > pointer behind the compiler's back isn't guaranteed to work. > > This fixes stack alignment on llvm/clang. > > Signed-

Re: [Mingw-w64-public] [PATCH] crt: Add "volatile" to all inline assembly snippets under math

2018-03-11 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-03-11 21:57 GMT+01:00 Martin Storsjö : > On 32 bit x86, clang seems to miss loading input parameters based > on asm constraints for inline assembly that uses the x87 floating > registers, unless the snippet has got the volatile keyword. > > Signed-off-by: Martin Stor

Re: [Mingw-w64-public] [PATCH] uianimation.idl: Added missing constants.

2018-02-28 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-02-27 23:23 GMT+01:00 Jacek Caban : > > Based on patch by Ruslan Garipov. > > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/uianimation.idl | 6 ++ > 1 file changed, 6 insertions(+) > > > >

Re: [Mingw-w64-public] [PATCH] headers: Temporarily undefine _Bool when typedeffing std::_Bool

2018-02-23 Thread Kai Tietz via Mingw-w64-public
Ok, thanks. Cheers, Kai 2018-02-23 11:02 GMT+01:00 Martin Storsjö : > This fixes building the following with libc++: > > #include > #include > > With libc++, yvals.h is implicitly included by anything that includes > locales (via xlocinfo.h). > > Signed-off-by: Martin Storsjö > --- >

Re: [Mingw-w64-public] [PATCH] crt: Allow sleeping for over a second with usleep

2018-02-23 Thread Kai Tietz via Mingw-w64-public
2018-02-23 10:56 GMT+01:00 Martin Storsjö : > On Fri, 23 Feb 2018, Kai Tietz via Mingw-w64-public wrote: > >> Patch looks fine beside one nit. The behavior above 4294967 seconds >> seems to be pretty unexpected, isn't it? > > > Well since the useconds_t parameter

Re: [Mingw-w64-public] [PATCH] crt: Allow sleeping for over a second with usleep

2018-02-23 Thread Kai Tietz via Mingw-w64-public
Patch looks fine beside one nit. The behavior above 4294967 seconds seems to be pretty unexpected, isn't it? Cheers, Kai 2018-02-22 22:17 GMT+01:00 Martin Storsjö : > Even though the POSIX spec of usleep says that the argument shall > be less than one million. Most unixes allow it and sleeps for

Re: [Mingw-w64-public] [PATCH] yvals.h: Don't create a _Bool typedef if a macro already exists

2018-02-23 Thread Kai Tietz via Mingw-w64-public
hmm, ok. But it might be better to temporary undefine _Bool via 'push_macro/pop_macro' pragma? Kai 2018-02-23 10:20 GMT+01:00 Martin Storsjö : > From: Hugo Beauzée-Luyssen > > This fixes building the following with libc++: > > #include > #include > > With libc++, yvals.h is implicitly

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

2018-02-15 Thread Kai Tietz via Mingw-w64-public
Hey Jacek, sorry for answering this late. I have no objections to get in synch with Wine's upstream version. As long as midl isn't open sourced, and there is a ported version of it for none-windows world too, we will stick to the Wine version for sure. Thanks, Kai 2017-12-18 19:27 GMT+01:00 J

Re: [Mingw-w64-public] [PATCH] ucrtbase: Map the (_)strcmpi function to _stricmp

2018-02-07 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-02-06 23:17 GMT+01:00 Martin Storsjö : > When using GNU binutils, the function aliases won't work transitively, > i.e. the strcmpi == _strcmpi alias in msvcrt-common.def.in won't > use the second alias of _strcmpi == _stricmp in ucrtbase.def.in but > will instead end

Re: [Mingw-w64-public] [PATCH] wine-import.sh: Run autoconf after updating widl version.

2018-02-06 Thread Kai Tietz via Mingw-w64-public
Ok. Thanks, Kai 2018-02-06 11:53 GMT+01:00 Jacek Caban : > > This reverts 9b27e7e9ce13d05de3527878031e47cfe6eca06b. We update VERSION > file to Wine version, which is imported into configure script. > > Signed-off-by: Jacek Caban > --- > mingw-w64-tools/widl/wine-import.sh | 1 + > 1 file change

Re: [Mingw-w64-public] [PATCH 2/2] include/usbspec.h: Update to newest.

2018-01-29 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-01-29 11:52 GMT+01:00 Liu Hao : > On 2018/1/29 18:37, Liu Hao wrote: >> The definitions of `struct _USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR` >> and `typedef struct >> _USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR` got moved >> upwards to match their orig

Re: [Mingw-w64-public] [PATCH 1/2] include/usbioctl.h: Add required headers for `__C89_NAMELESS` and Windows data types.

2018-01-29 Thread Kai Tietz via Mingw-w64-public
Hey, why you include _mingw_mac.h before including minwindef.h ? This seems to be superflous. The header mingwindef.h includes already _mingw.h, which includes for sure _mingw_mac.h too. Te patch is ok with that change. Thanks, Kai 2018-01-29 11:36 GMT+01:00 Liu Hao : > This caused trouble whe

Re: [Mingw-w64-public] [PATCH] winpthreads: Fix prototype of `pthread_attr_{getstackaddr, getschedpolicy}`.

2018-01-26 Thread Kai Tietz via Mingw-w64-public
Hey, patch is ok. Please go ahead and apply. Thanks, Kai 2018-01-13 13:27 GMT+01:00 Liu Hao : > The attached patch adds `const` qualifiers that were missing. > > -- > Best regards, > LH_Mouse > > > -- > Check out the vib

Re: [Mingw-w64-public] printf("%zu") format warnings

2018-01-25 Thread Kai Tietz via Mingw-w64-public
Hello, it is a common, but nevertheless wrong assumption, that %z formatter is compatible for different runtimes. Especially msvcrt is all but C99 compatible. If you have enabled the use our C99 compatible printf/scanf implementation via the __USE_MINGW_ANSI_STDIO macro, then you will see that %

Re: [Mingw-w64-public] [PATCH 4/4] dwrite_3.h: Added new header file.

2018-01-22 Thread Kai Tietz via Mingw-w64-public
Ok. Thanks, Kai 2018-01-22 19:00 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/dwrite_3.h | 587 > +++ > 1 file changed, 587 insertions(+) > create mode 100644 mingw-w64-headers/include/dwrite_3.h > > > >

Re: [Mingw-w64-public] [PATCH 3/4] dwrite1_1.h: Added DWRITE_PANOSE declaration.

2018-01-22 Thread Kai Tietz via Mingw-w64-public
Hmm, ok. Shouldn't we special case unnamed union/struct? Kai 2018-01-22 19:00 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/dwrite_1.h | 53 > > 1 file changed, 53 insertions(+) > > > > ---

Re: [Mingw-w64-public] [PATCH 2/4] dcommon.h: Moved more declarations to dcommon.h.

2018-01-22 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Kai 2018-01-22 19:00 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > 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, 2

Re: [Mingw-w64-public] [PATCH 1/4] dwrite.h: Added DWRITE_DECLARE_INTERFACE define.

2018-01-22 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-01-22 19:00 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/dwrite.h | 4 > 1 file changed, 4 insertions(+) > > > > -- > Check out the vibrant te

Re: [Mingw-w64-public] [PATCH] stdio.h: Don't use ms_* and gnu_* format attributes on clang.

2018-01-21 Thread Kai Tietz via Mingw-w64-public
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. Thanks Kai 2018-01-21 12:15 GMT+01:00 Martin Storsjö : > On Sun, 21 Jan 2018, Jacek Caban wrot

Re: [Mingw-w64-public] [PATCH] intrin-impl.h: Use volatile argument for __buildbittesti-based functions.

2018-01-19 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Thanks, Kai 2018-01-19 18:38 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/psdk_inc/intrin-impl.h | 83 > > 1 file changed, 41 insertions(+), 42 deletions(-) > > > > --

Re: [Mingw-w64-public] [PATCH] headers: Map more stdio functions to their counterparts in ucrtbase

2018-01-08 Thread Kai Tietz via Mingw-w64-public
Hello, patch is ok. Please go ahead and apply. Thanks (and a happy new year for you), Kai 2018-01-08 15:51 GMT+01:00 Martin Storsjö : > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/crt/sec_api/stdio_s.h | 655 > +++- > mingw-w64-headers/crt/sec_api/wchar

Re: [Mingw-w64-public] [PATCH] headers: Remove an empty dxgi1_6.h

2017-12-16 Thread Kai Tietz via Mingw-w64-public
Ok. Pease go ahead- Thanks, Kai 2017-12-15 22:30 GMT+01:00 Martin Storsjö : > This was added at the same time as a bunch of non-empty headers > (and a non-empty dxgi1_6.idl) in aa6ab47929a9cac6897f38e630ce0bb88458e288; > this empty header seems to have been the result of an error. > > Signed-off-

Re: [Mingw-w64-public] [PATCH] crt: Provide fallback implementations of __p__acmdln/__p__wcmdln

2017-11-28 Thread Kai Tietz via Mingw-w64-public
Hello Martin, patch is ok. Please go ahead and commit, if Jacek has no objections. Thanks, Kai 2017-11-28 8:41 GMT+01:00 Martin Storsjö : > This is necessary for msvcrt.dll on x86_64 (and arm and arm64) and > msvcr80.dll on x86_64. > > This fixes building for x86_64 with msvcrt.dll since > 9a2f

Re: [Mingw-w64-public] [PATCH] ucrtbase: Make sure that compat symbols aren't autoexported

2017-11-23 Thread Kai Tietz via Mingw-w64-public
Martin, patch looks ok. Be careful about the static symbol in custom section that it is actually present in a finally linked version. Sometimes gcc thinks ... that it can optimize away such static symbols. I had to introduce for that dummy references to such symbols in the past. See crt/* folde

Re: [Mingw-w64-public] [PATCH] crt: Share shlwapi.def between lib64 and libarm32

2017-11-21 Thread Kai Tietz via Mingw-w64-public
2017-11-21 11:36 GMT+01:00 Martin Storsjö : > On Tue, 21 Nov 2017, Martin Storsjö wrote: > >> On Tue, 21 Nov 2017, Kai Tietz via Mingw-w64-public wrote: >> >>> Hi, >>> >>> Why was 'DllGetVersion' removed? Otherwise patch is ok. >> &

Re: [Mingw-w64-public] [PATCH] crt: Share shlwapi.def between lib64 and libarm32

2017-11-21 Thread Kai Tietz via Mingw-w64-public
Hi, Why was 'DllGetVersion' removed? Otherwise patch is ok. Thanks, Kai 2017-11-21 9:15 GMT+01:00 Martin Storsjö : > Use the new shared def file for arm64 as well. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/{lib64 => lib-common}/shlwapi.def | 15 +- > mingw-w64-crt/libarm32/shlwa

Re: [Mingw-w64-public] [PATCH] headers: Avoid producing repeated "static static" in __mingw_static_ovr

2017-11-21 Thread Kai Tietz via Mingw-w64-public
Patch is ok. Please go ahead and apply. Thanks, Kai 2017-11-21 9:14 GMT+01:00 Martin Storsjö : > GCC throws an error when faced with "static static", while clang > handles it fine. > > _mingw_mac.h defines __mingw_static_ovr to be a version of __mingw_ovr > that always is static (the normal __min

Re: [Mingw-w64-public] [PATCH] Revert "Avoid collisions for imported Interlocked symbols by VC generated code."

2017-11-13 Thread Kai Tietz via Mingw-w64-public
Hmm, I am not sure that this will actually fix just llvm, but break everything else. We provide the Interloced API as inline functions/builtins on gcc. So we don't want those symbols to be exported, as we want to use our own version instead. The reasoning is that such builtins might be optimizab

Re: [Mingw-w64-public] [PATCH 2/2] crt: Provide __acrt_iob_func and __p___argv without the __imp_ prefix

2017-11-11 Thread Kai Tietz via Mingw-w64-public
Patch is Ok. Thanks Kai 2017-11-10 10:03 GMT+01:00 Martin Storsjö : > Some object files in the crt build were previously built with _CRTBLD, > but not all of them. This lead to these wrappers not defining the > unprefixed function (since that would cause warnings about mismatched > dllimport attr

Re: [Mingw-w64-public] [PATCH 1/2] headers: Allow setting the default __MSVCRT_VERSION__

2017-11-10 Thread Kai Tietz via Mingw-w64-public
Patch looks ok to me. Jacek any comments? Thanks Kai Am 10.11.2017 21:50 schrieb "Martin Storsjö" : The CRT parts (especially libmingwex) can't be built with __MSVCRT_VERSION__=0x1400, so force it to the intended version there. Signed-off-by: Martin Storsjö --- Updated to take a library name a

Re: [Mingw-w64-public] [PATCH 2/2] crt: Allow overriding libmsvcrt.a to point to another library

2017-11-10 Thread Kai Tietz via Mingw-w64-public
I am not really the best person to review automake stuff. but for me patch seems fine. If there are no objections, go ahead and apply. Thanks Kai Am 10.11.2017 21:50 schrieb "Martin Storsjö" : Install the import library for msvcrt.dll under the name libmsvcrt-os.a, and install the one that is c

Re: [Mingw-w64-public] [PATCH 2/2] crt: Allow overriding libmsvcrt.a to point to another library

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Hmm, I am not really good at choosing nice names. But well, I would vote for something like libmsvcrt_os.a Cheers Kai 2017-11-09 22:42 GMT+01:00 Martin Storsjö : > On Thu, 9 Nov 2017, Kai Tietz via Mingw-w64-public wrote: > >> Hmm, I would prefer to have a configure option. But neve

Re: [Mingw-w64-public] [PATCH 2/2] crt: Allow overriding libmsvcrt.a to point to another library

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Hmm, I would prefer to have a configure option. But nevertheless all libraries should be built regardless to this configure option, but under separate unique names. The configure option should just decide, which msvc*/ucrt library version should be copied as libmsvcrt.a library. 2017-11-09 15:59 G

Re: [Mingw-w64-public] [PATCHv2 3/3] crt: Provide __p___argv in all msvcrt versions

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Patch looks better now. Please go ahead. Thanks, Kai 2017-11-09 11:02 GMT+01:00 Martin Storsjö : > In msvcrt.dll, it only existed on i386. In the numbered msvcr* DLLs, > it was present in all of them except msvcr80.dll for x86_64. > > Define __argv to use __p___argv(). > > This makes sure that co

Re: [Mingw-w64-public] [PATCH] headers: Default to the legacy wide string mode for ucrtbase, unless __USE_MINGW_ANSI_STDIO is defined

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Hmm, C99 support is pretty important for the gnu world. Nevertheless patch ok. Please go ahead. Thanks, Kai 2017-11-09 10:04 GMT+01:00 Martin Storsjö : > When __USE_MINGW_ANSI_STDIO is defined, we still call the custom > implementation bundled in libmingwex. (Redirecting this case > to use the u

Re: [Mingw-w64-public] [PATCH] crt: Don't include the new *_dbg functions on x86

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Patch ok. Please go ahead. Thanks, Kai 2017-11-09 10:01 GMT+01:00 Martin Storsjö : > Prior to unification of msvcrt.def.in, neither 32 or 64 bit x86 > did export this function. In practice, they seem to have existed > since Vista. > > At this point, msvcrt.def.in should preprocess into the exact

Re: [Mingw-w64-public] [PATCH 2/3] headers: Hook up __argc and similar external variables for ucrtbase

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Patch ok. Please go ahead. Thanks, Kai 2017-11-09 9:59 GMT+01:00 Martin Storsjö : > Not all the variables that were listed seem to be exported from > ucrtbase though, so only hook up those that do exist. > > Signed-off-by: Martin Storsjö > --- > This was approved previously by JonY, but is rebas

Re: [Mingw-w64-public] [PATCH 1/3] headers: Restructure declarations of external variables like __argc

2017-11-09 Thread Kai Tietz via Mingw-w64-public
Patch ok. Please go ahead. Thanks, Kai 2017-11-09 9:59 GMT+01:00 Martin Storsjö : > This is in preparation for redefining these declarations for ucrtbase. > > Signed-off-by: Martin Storsjö > --- > I don't think anyone actually has commented on this one yet, but it's > a prerequisite for the patc

Re: [Mingw-w64-public] [PATCH 0/7] Ucrtbase/__argv/__p___* functions

2017-11-09 Thread Kai Tietz via Mingw-w64-public
2017-11-09 9:18 GMT+01:00 Martin Storsjö : > On Thu, 9 Nov 2017, Jacek Caban wrote: > >> 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 >>> inconsistenci

Re: [Mingw-w64-public] [PATCH] headers: Define _M_ARM64 just like MSVC does

2017-11-06 Thread Kai Tietz via Mingw-w64-public
Patch is okay. Please go ahead ans commit. Thanks Kai Am 07.11.2017 08:42 schrieb "Martin Storsjö" : > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/crt/_mingw_mac.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/mingw-w64-headers/crt/_mingw_mac.h b/mingw-w64-headers/cr

Re: [Mingw-w64-public] [PATCH] normalise x86 (i686 vs i386) detection

2017-11-06 Thread Kai Tietz via Mingw-w64-public
Patch is okay. Please commit. Thanks Kai Am 07.11.2017 08:42 schrieb "Martin Storsjö" : > On Tue, 7 Nov 2017, Martell Malone wrote: > > ping. :) >> I think this is being lost between all the different patches being >> submitted atm. >> > > The patch looks good to me although I'm not very familiar

Re: [Mingw-w64-public] [PATCH] headers: Add a configure parameter for setting the default value of _WIN32_WINNT

2017-11-03 Thread Kai Tietz via Mingw-w64-public
Hello Martin, The patch is ok. Please go ahead and apply. JonY, Adrien do we have on web-server documentation about our special configure options? I think it might be time to create such a page/document. What do you think? Thanks, Kai 2017-11-03 10:06 GMT+01:00 Martin Storsjö : > Signed-off

Re: [Mingw-w64-public] New bug fix from v5.x release soon

2017-10-26 Thread Kai Tietz via Mingw-w64-public
Thanks for the patch. If test passes, patch is ok to apply. Thanks, Kai 2017-10-26 14:51 GMT+02:00 Liu Hao : > On 2017/10/26 19:53, sisyph...@optusnet.com.au wrote: >> >> -Original Message- From: JonY via Mingw-w64-public >> Sent: Thursday, October 26, 2017 10:03 PM >> To: mingw-w64-publ

Re: [Mingw-w64-public] _ftelli64 bug

2017-10-19 Thread Kai Tietz via Mingw-w64-public
Hello, I am not quite sure if this is a Windows bug. The API you are using is actually that one from msvcrt.dll for large/none-large file accesses. The most common issue showing this behavior is the TEXT vs. BINARY file open mode on Windows C-runtime. New-lines might be expanded to carriage-retu

Re: [Mingw-w64-public] [PATCH] Fix gendef fallthroughts and enable winpthreads library build

2017-10-06 Thread Kai Tietz via Mingw-w64-public
Hello JonY, the winpthread patch is ok. But I have to agree that this "fallthrough feature" of gcc is more or less pretty bad ... Regards, Kai 2017-10-06 15:52 GMT+02:00 JonY via Mingw-w64-public : > Patches OK? > > > -

Re: [Mingw-w64-public] [PATCH 1/3] crt: Add a def file for ucrtbase.dll

2017-09-21 Thread Kai Tietz via Mingw-w64-public
Hi, sorry for the late reply. I hope you already pushed it. For completeness: there are no objections from my POV. Thanks, Kai 2017-09-13 10:40 GMT+02:00 Martin Storsjö : > On Mon, 11 Sep 2017, Martin Storsjö wrote: > >> On Mon, 11 Sep 2017, Jacek Caban wrote: >> >>> Hi Martin, >>> >>> On 11.09

Re: [Mingw-w64-public] [PATCH 08/27] crt: Unify crypt32.def for lib64 and libarm32

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Well, I don't think it is necessary to provide them. Thanks, Kai 2017-08-21 15:00 GMT+02:00 Martin Storsjö : > Hi, > > On Mon, 21 Aug 2017, Kai Tietz via Mingw-w64-public wrote: > >> Hello, >> >> I am not sure, if we might have users depending on those ordi

Re: [Mingw-w64-public] [PATCH 27/27] crt: Merge lib32's msvcrt.def.in into lib-common

2017-08-21 Thread Kai Tietz via Mingw-w64-public
21 up to 27 are ok. Please go ahead and apply to master. Thanks, Kai 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Where in doubt, where there were non-obvious differences between > the lib32 and lib64 versions, I've kept the definitions separate > instead of trying to unify them too much. (This

Re: [Mingw-w64-public] [PATCH 20/27] crt: Unify rpcrt4.def for lib64 and libarm32

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Patches 11 up to 20 are looking fine. Please apply. Thanks, Kai 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/{lib64 => lib-common}/rpcrt4.def | 36 +- > mingw-w64-crt/libarm32/rpcrt4.def | 534 > - > 2

Re: [Mingw-w64-public] [PATCH 06/27] crt: Unify bcrypt.def for lib64 and libarm32

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Patch files 04 up to 10 are ok. Please go ahead and apply. Thanks, Kai 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Keep functions from both previous versions. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/{lib64 => lib-common}/bcrypt.def | 8 ++-- > mingw-w64-crt/libarm32/bcrypt.de

Re: [Mingw-w64-public] [PATCH 03/27] crt: Share a def file where lib64 has got a superset of the functions in libarm32

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Hi, patch is ok. Thanks, Kai 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Include the C++ function definitions only on x86_64, since they were > only present in the lib64 def file. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/Makefile.am | 6 ++-- > .../c

Re: [Mingw-w64-public] [PATCH 08/27] crt: Unify crypt32.def for lib64 and libarm32

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Hello, I am not sure, if we might have users depending on those ordinal import ... I doubt it ... so 02 - 03 patches are ok. Please go ahead and apply. Thanks, Ka 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/{libarm32 => lib-common}/crypt32.d

Re: [Mingw-w64-public] [PATCH 01/27] crt: Include the def file in libwindowscodecs.a

2017-08-21 Thread Kai Tietz via Mingw-w64-public
Hello, patch is ok. Please go ahead and apply. Thanks, Kai 2017-08-17 14:14 GMT+02:00 Martin Storsjö : > Previously, we didn't actually ever include the def file in this library. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/Makefile.am | 3 +++ > mingw-w64-crt/lib32/Makefil

Re: [Mingw-w64-public] [PATCH 03/18] crt: Add an initial libarm64 directory with def files

2017-08-09 Thread Kai Tietz via Mingw-w64-public
2017-08-09 15:11 GMT+02:00 Martell Malone : >> >> Just out of curiosity - the 800 def files that only are available for >> x86_64 but not for i686, are they something that somebody practically care >> about? Should we try to add them to i686 as well (given that they probably >> actually exist there

Re: [Mingw-w64-public] [PATCH 03/18] crt: Add an initial libarm64 directory with def files

2017-08-09 Thread Kai Tietz via Mingw-w64-public
2017-08-09 14:34 GMT+02:00 Jacek Caban : > On 08.08.2017 22:32, Martin Storsjö wrote: >> The libarm64 directory is a copy of libarm32 with minimal modifications >> (renamings in the *.mri scripts and in Makefile.am). > > > In that case I don't think we should have actual copies of every single > .d

Re: [Mingw-w64-public] [PATCH] Add the sincos* functions on arm, calling into sin/cos separately

2017-08-03 Thread Kai Tietz via Mingw-w64-public
Hmm, is there a chance that this source file is used for none ARM? If so, we should reject this on top, as other targets (the exisiting ones) are already providing this function. Otherwise patch looks ok for me too. Regards, Kai 2017-08-03 0:48 GMT+02:00 JonY via Mingw-w64-public : > On 07/30/

Re: [Mingw-w64-public] [PATCH] winbase.h: WaitForMultipleObjects is available on UWP

2017-07-10 Thread Kai Tietz via Mingw-w64-public
Hello Hugo, Hmm, I am not that convinced that this patch is ok. Why is just W4MO a general import? Are you sure that in App mode this function has be present too? Do you have some pointers for this? Regards, Kai 2017-07-10 17:06 GMT+02:00 Hugo Beauzée-Luyssen : > On Tue, Jun 27, 2017, at 05:44

Re: [Mingw-w64-public] [PATCH] VirtualProtect problem in pseudo-reloc.c

2017-07-10 Thread Kai Tietz via Mingw-w64-public
Hi, yes, the patch looks fine to me. Your changes looking fine to me. Nevertheless we should just put this code change just in master, as we need to let people test new code. Please go ahead and commit to master. Thanks, Kai 2017-07-09 21:25 GMT+02:00 Arthur D. Edelstein : > Turns out I could r

Re: [Mingw-w64-public] __C_specific_handler accessible for __IA_64__ but not for __X86_64

2017-07-06 Thread Kai Tietz via Mingw-w64-public
Hello, Well, we could provide this prototype for x64 too. Not sure why we are not doing this already. Regards, Kai 2017-06-16 16:14 GMT+02:00 : > Hello, > > I'm trying to compile Gcc-7.0.1 and mingw-w64-5.0.2 in 64bits, using MSYS. > > I would like to enable the libsanitizer support, but one o

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-23 Thread Kai Tietz via Mingw-w64-public
2017-06-22 18:41 GMT+02:00 Lev Serebryakov : > On 22.06.2017 16:17, Kai Tietz via Mingw-w64-public wrote: > >> Be welcome. Well, actually gcc has one paragraph about this. You can >> find it in gcc's extend.texi. It is part of the item 'format >> (@var{archetype

Re: [Mingw-w64-public] [PATCH] Added oleacc.tlb.

2017-06-22 Thread Kai Tietz via Mingw-w64-public
Hello Jacek, patch is ok. Thanks, Kai 2017-06-19 18:16 GMT+02:00 Jacek Caban : > Please review. > > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/Makefile.am| 1 + > mingw-w64-headers/tlb/oleacc.idl | 382 > +++ > 2 files changed, 383 insertions

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 14:19 GMT+02:00 Lev Serebryakov : > On 22.06.2017 15:12, Kai Tietz via Mingw-w64-public wrote: > >> Well, your issue is "(format (printf, ... )". First use __printf, or >> even better __printf__. Nevertheless the printf formatter is >> representing

Re: [Mingw-w64-public] [PATCH] strsafe.h: Added missing _STRSAFE_EXTERN_C in cases when inlining is disables.

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-20 3:52 GMT+02:00 Liu Hao : > On 2017/6/20 1:40, Jacek Caban wrote: >> >> Please review. >> >> Signed-off-by: Jacek Caban >> --- >> mingw-w64-headers/include/strsafe.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > We might have to test this patch with different `-std

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 13:39 GMT+02:00 Lev Serebryakov : > Hello Liu, > > Thursday, June 22, 2017, 4:46:33 AM, you wrote: > So, I need to printf() uint64_t in my project, which is built in strict ISO C11 mode and with all warnings enabled. >>> If I try to use "%llu" I get warning that "unkno

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-22 Thread Kai Tietz via Mingw-w64-public
2017-06-22 4:53 GMT+02:00 : > -Original Message- From: Liu Hao > Sent: Thursday, June 22, 2017 11:46 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit > compiler in strict ISO mode with all warnings enabled? > >>> S

Re: [Mingw-w64-public] Default _WIN32_WINNT version too low?

2017-06-09 Thread Kai Tietz via Mingw-w64-public
I agree that - if we want to increase default windows version - we should bump our default to Windows 7. Windows Vista is already on the way to die ... Nevertheless, IMHO we should do that increase just for our master. Regards, Kai 2017-06-04 1:33 GMT+02:00 Martell Malone : > Thanks for that clar

Re: [Mingw-w64-public] [Patch] normalize strftime and strftime_l

2017-06-09 Thread Kai Tietz via Mingw-w64-public
Well, the inline variant seems fine to me. I would prefer to have here instead an implementation file. As later allows us to provide such a function from import-library too. Cheers, Kai 2017-06-04 2:10 GMT+02:00 Martell Malone : > Following up with an initial patch > Not sure if this is ideal

Re: [Mingw-w64-public] Semi-OT: Is this sourceforge email legit? (Fwd: Important Account Information - Reconfirm Mailing List Subscriptions)

2017-06-09 Thread Kai Tietz via Mingw-w64-public
Hello, yes, everybody seems to get such a mail for the subscribed sf public mailing lists. SF changed describes the reasoning at https://sourceforge.net/blog/sourceforge-project-e-mail-policy-update/ for further information. Regards, Kai 2017-06-09 7:26 GMT+02:00 LRN : > On 6/9/2017 6:13 AM, K.

Re: [Mingw-w64-public] static lib/Visual Studio problem

2017-06-07 Thread Kai Tietz via Mingw-w64-public
Mixing C++ from different compilers is one of the ultimate adventurous roads to go. Nevertheless you can still share C API instead. Anyway, if you want to use mingw-w64 together with VS, I would recomment to switch to Clang for mingw-w64 (llvm). It is capable to produce mostly compatible C++ code