Re: [Mingw-w64-public] Add missing function declarations to mingw-w64-headers/include/shlwapi.h

2021-05-01 Thread Liu Hao
在 2021-04-28 22:54, DAVID MAY 写道: Thank you for your feedback. I removed those changes. Updated patch attached. Thanks for the update. This patch looks mostly good, except for one thing: + STDAPI_(BOOL) SHRegGetBoolValueFromHKCUHKLM(PCWSTR pszKey, PCWSTR pszValue, BOOL fDefault); + LW

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-05-01 Thread Liu Hao
在 2021-04-29 03:34, Christian Franke 写道: BTW.2: The *ftime*() functions from newer versions of MSVC CRT also use GetSystemTimePreciseAsFileTime() if available. UCRTBASE.DLL still uses `GetSystemTimeAsFileTime()`. It does not even have an entry for the precise one in its import directory

[Mingw-w64-public] Question: Should opaque UCRT structures be added?

2021-05-01 Thread Biswapriyo Nath
Some projects like ruby, perl, gnulib etc. uses the iobuf and ioinfo structures heavily. Is it possible to add those structure definition for UCRT here? Just asking :) ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://list

Re: [Mingw-w64-public] rdtsc patch

2021-05-01 Thread Zach Bacon
I think you forgot to attach your patch or it got filtered out. On Sat., May 1, 2021, 9:20 p.m. sotrdg sotrdg, wrote: > > > Sent from Mail for > Windows 10 > > > ___ > Mingw-w64-public mailing list > Ming

[Mingw-w64-public] rdtsc patch

2021-05-01 Thread sotrdg sotrdg
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] build fail for GCC 12

2021-05-01 Thread sotrdg sotrdg
../../../mingw-w64/mingw-w64-crt/intrincs/rdtsc.c:15:30: error: macro "__rdtsc" passed 1 arguments, but takes just 0 15 | unsigned __int64 __rdtsc(void) | ^ In file included from /home/cqwrteur/all_mingw_toolchains/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw3

Re: [Mingw-w64-public] Question: Should not the UCRT _iobuf condition be in every declaration?

2021-05-01 Thread Liu Hao
在 2021-05-01 13:41, Biswapriyo Nath 写道: The `void *_Placeholder` was added in struct _iobuf in stdio.h only. But struct _iobuf is declared in other three headers also. Thoughts attached. How about removing the struct definition? It looks unused, except by the typedef. So this ``` typede