Re: [Mingw-w64-public] [PATCH] Add missing members into MINIDUMP_TYPE

2021-05-30 Thread Liu Hao

在 5/31/21 1:38 AM, Ruslan Garipov 写道:


Signed-off-by: Ruslan Garipov 
---
  mingw-w64-headers/include/psdk_inc/_dbg_common.h | 8 +++-
  1 file changed, 7 insertions(+), 1 deletion(-)




Thanks. This patch looks good to me. I pushed it to master.


--
Best regards,
Liu Hao



OpenPGP_signature
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] Windows 95 crashes

2021-05-30 Thread unlvsur unlvsur
Compiling programs for Windows 95 and Pentium in 2021 | GL1zdA's Weblog 
(wordpress.com)

Sent from Mail for Windows 10


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


[Mingw-w64-public] Any interesting on recreating a C++ standard library with MinGW-w64 itself?

2021-05-30 Thread unlvsur unlvsur
Some people want to link with msvcp (msvc stl) for C++ instead of using 
libstdc++.

I think it is actually possible to do that, considering mingw-w64 already 
recreates everything with msvcrt.

Sent from Mail for Windows 10


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


[Mingw-w64-public] Does mingw-w64 provide new syscalls for windows IO ring?

2021-05-30 Thread unlvsur unlvsur
I/O Rings – When One I/O Operation is Not Enough – Winsider Seminars & 
Solutions Inc. 
(windows-internals.com)

Sent from Mail for Windows 10


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


[Mingw-w64-public] Any interests on recreating a C++ standard library with MinGW-w64 itself?

2021-05-30 Thread unlvsur unlvsur
some people want to link with msvcp instead of libstdc++. is that possible?

Get Outlook for Android

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


[Mingw-w64-public] my new attempt to support MSVC STL for mingw-w64

2021-05-30 Thread trtaab trtaab
Do you think that is useful? I’ve heard a lot of people they are not happy with 
shared linking with libstdc++-6.dll. They want to shared linking with msvcp.

some initial attempts · expnkx/MinGW-w64-STL@a2d31c6 
(github.com)

The licensing of STL is apache with LLVM exception. It should not contain any 
legality issues.


Sent from Mail for Windows 10


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


Re: [Mingw-w64-public] wine FTBFS with mingw64 gcc 11: undefined reference to `sincos'

2021-05-30 Thread Dean Greer
Hi Jacek

I’ve tested compiling wine-6.8 with mingw-gcc-11.1.0 (stock) with the
provided patch applied and the compile finished without issue.

Thanks,

Dean aka Gcenx

On Fri, May 14, 2021 at 1:28 PM Jacek Caban  wrote:

> Hi Alex,
>
> On 5/14/21 3:01 AM, Alex Xu (Hello71) wrote:
> > Hi,
> >
> > I tried building wine 6.8 with mingw. All fine, just one problem, it
> > reports error "undefined reference to `sincos'". Why, you may ask, since
> > wine never calls sincos function? Well, it seems to be because mingw gcc
> > 11 enables sincos optimization: [0]. But, wine uses -nodefaultlibs,
> > intending to provide libc functions with msvcrt; however, wine msvcrt
> > doesn't implement any sincos. So, there is a mismatch: gcc accepts mingw
> > claim to implement sincos (ok since mingwex implements it), then
> > generates call to sincos, then fails at link time (because msvcrt does
> > not implement it).
> >
> > After adding -fno-builtin-{sin,cos}{,f} to CFLAGS, wine compiled and ran
> > OK.
> >
> > This issue seems to be worked around for winelib builds by adding
> > -fno-builtin, so that gcc will not generate sincos (or most other
> > problematic functions).
> >
> > I think this issue could be worked around by adding those -fno-builtin-*
> > flags for mingw builds. However, I think the sin/cos->sincos
> > optimization is a good one, so maybe we could instead add sincos
> > forwarder in msvcrt (calling sin+cos separately in case sincos is not
> > implemented in libc?).
> >
> > CCed mingw-w64-public@lists.sourceforge.net due to potential relevance
> > and felixonm...@archlinux.org due to maintaining wine and mingw-gcc on
> > Arch. You may need to subscribe in order to reply all. I look forward to
> > hearing your thoughts.
>
>
> I think that the decision was unfortunate on GCC side, but there is
> little we can do. We will probably need to provide it in msvcrt
> importlibs. Please try the attached patch, it should help.
>
>
> Thanks,
>
> Jacek
>
>

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


[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-30 Thread Orgad Shaneh
Signed-off-by: Orgad Shaneh 
---
 mingw-w64-headers/include/shobjidl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/shobjidl.h
b/mingw-w64-headers/include/shobjidl.h
index bd1633ae..33b77648 100644
--- a/mingw-w64-headers/include/shobjidl.h
+++ b/mingw-w64-headers/include/shobjidl.h
@@ -7119,7 +7119,7 @@ static FORCEINLINE HRESULT
IFolderViewSettings_GetGroupSubsetCount(IFolderViewSe
 #endif
 #endif

-#if _WIN32_IE >= _WIN32_IE_IE70
+#if _WIN32_IE >= _WIN32_IE_IE70 && !defined(NOGDI)
 /*
  * IPreviewHandlerVisuals interface
  */
--
2.30.2


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


[Mingw-w64-public] [PATCH] Add missing members into MINIDUMP_TYPE

2021-05-30 Thread Ruslan Garipov

Signed-off-by: Ruslan Garipov 
---
 mingw-w64-headers/include/psdk_inc/_dbg_common.h | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)



diff --git a/mingw-w64-headers/include/psdk_inc/_dbg_common.h b/mingw-w64-headers/include/psdk_inc/_dbg_common.h
index 48f2b9d7d..c42da025c 100644
--- a/mingw-w64-headers/include/psdk_inc/_dbg_common.h
+++ b/mingw-w64-headers/include/psdk_inc/_dbg_common.h
@@ -1531,7 +1531,13 @@ typedef struct _MINIDUMP_MEMORY_INFO_LIST {
 MiniDumpWithFullAuxiliaryState   = 0x8000,
 MiniDumpWithPrivateWriteCopyMemory   = 0x0001,
 MiniDumpIgnoreInaccessibleMemory = 0x0002,
-MiniDumpWithTokenInformation = 0x0004
+MiniDumpWithTokenInformation = 0x0004,
+MiniDumpWithModuleHeaders= 0x0008,
+MiniDumpFilterTriage = 0x0010,
+MiniDumpWithAvxXStateContext = 0x0020,
+MiniDumpWithIptTrace = 0x0040,
+MiniDumpScanInaccessiblePartialPages = 0x0080,
+MiniDumpValidTypeFlags   = 0x00ff
   } MINIDUMP_TYPE;
 
 #define MINIDUMP_THREAD_INFO_ERROR_THREAD0x0001


___
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] Add missing members into MINIDUMP_TYPE

2021-05-30 Thread Liu Hao

在 2021-05-30 04:35, Ruslan Garipov 写道:

+MiniDumpValidTypeFlags   = 0x00ff,
  


Please remove this trailing comma from the enumerator list.


--
Best regards,
Liu Hao



OpenPGP_signature
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCHv2] headers/wincon: Don't define `LF_FACESIZE` when `NOGDI` is in, effect

2021-05-30 Thread Liu Hao

在 2021-05-30 00:07, JonY via Mingw-w64-public 写道:

On 5/29/21 3:20 PM, Liu Hao wrote:

在 2021-05-26 09:56, Liu Hao 写道:
When `NOGDI` is not defined (i.e. when GDI is desired), `LF_FACESIZE` is always defined, so there 
is no need to check for it here.






ping?



Looks good to me, thanks for looking into this.





Thanks. Pushed now.


--
Best regards,
Liu Hao



OpenPGP_signature
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] crt: Fix setting errno in the strtod based strtof implementation

2021-05-30 Thread Liu Hao

在 2021-05-30 05:30, Martin Storsjö 写道:

In this case, strtod will have set errno for cases that were out of
range for doubles. For doubles that were in range, but that are out
of ranges for float, set errno before returning.

Signed-off-by: Martin Storsjö 
---
  mingw-w64-crt/stdio/strtof.c | 18 +-
  1 file changed, 17 insertions(+), 1 deletion(-)




This patch looks good to me.




--
Best regards,
Liu Hao



OpenPGP_signature
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public