Updated.
From: Biswapriyo Nath
Date: Wed, 8 Apr 2020 19:14:50 +0530
Subject: [PATCH] headers: codecapi add missing enums
Signed-off-by: Biswapriyo Nath
---
mingw-w64-headers/include/codecapi.h | 572 +--
1 file changed, 538 insertions(+), 34 deletions(-)
diff --git
On Sat, Apr 4, 2020 at 1:04 AM Biswapriyo Nath wrote:
>
> The coding style is different in many files in mingw-w64 headers and crt.
> Is it possible to add a rule to enforce a consistent coding style across
> all the source file? For example, using clang-fromat, editorconfig etc.
> lightweight
On 08.04.2020 18:13, Steve Lhomme wrote:
> When compiling with other compilers than MSVC, we always use the code
> relying on USE_VEH_FOR_MSC_SETTHREADNAME.
>
> -#if !defined(_MSC_VER) || defined (USE_VEH_FOR_MSC_SETTHREADNAME)
> +#if !defined(_MSC_VER)
> +#define USE_VEH_FOR_MSC_SETTHREADNAME
>
Calling RemoveVectoredExceptionHandler()/AddVectoredExceptionHandler() is
forbidden in non-desktop apps.
https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-addvectoredexceptionhandler
When compiling with other compilers than MSVC, we always use the code
relying on USE_VEH_FOR_MSC_SETTHREADNAME.
The __try/__except check code is not modified as it relies on internal MSVC
dialect. With MSVC either USE_VEH_FOR_MSC_SETTHREADNAME was set but that code
wasn't use anyway (unchanged)
---
mingw-w64-libraries/winpthreads/src/sched.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/src/sched.c
b/mingw-w64-libraries/winpthreads/src/sched.c
index bdd4301b..df3c60ea 100644
--- a/mingw-w64-libraries/winpthreads/src/sched.c
The call is forbidden on non-desktop apps.
The check on INVALID_HANDLE_VALUE should be good enough.
---
mingw-w64-libraries/winpthreads/src/misc.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/mingw-w64-libraries/winpthreads/src/misc.h
b/mingw-w64-libraries/winpthreads/src/misc.h
The call is forbidden.
Hopefully the deferred Canceling mechanism below will work and this is not
needed.
---
mingw-w64-libraries/winpthreads/src/thread.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mingw-w64-libraries/winpthreads/src/thread.c
The code does the same but in a cleaner way, making room for the next patch.
---
mingw-w64-libraries/winpthreads/src/sched.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/src/sched.c
b/mingw-w64-libraries/winpthreads/src/sched.c
index
It allows getting the LocalCacheFolder
https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata.localcachefolde
---
mingw-w64-headers/include/windows.storage.h | 114 ++
mingw-w64-headers/include/windows.storage.idl | 5 +
2 files changed, 119 insertions(+)
在 2020/4/8 21:49, Biswapriyo Nath 写道:
> ...
>
>
>
> + enum eAVEncVP9VProfile {
> +eAVEncVP9VProfile_unknown = 0,
> +eAVEncVP9VProfile_420_8 = 1,
> +eAVEncVP9VProfile_420_10 = 2,
> +eAVEncVP9VProfile_420_12 = 3,
---^
Probably this trailing comma
On Wed, 8 Apr 2020, Liu Hao wrote:
在 2020/4/8 2:01, Martin Storsjö 写道:
This avoids optimizing the sincos function to a recursive call to
itself, if built with -ffast-math (unless built with -fno-builtin-sin).
While building with -ffast-math can break certain math routines and
thus can be
...
From e93b22a07dfd67ab9841951b09c6b0617cefd6e4 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Wed, 8 Apr 2020 19:14:50 +0530
Subject: [PATCH] headers: codecapi add missing enums
Signed-off-by: Biswapriyo Nath
---
mingw-w64-headers/include/codecapi.h | 572 +--
13 matches
Mail list logo