---
mingw-w64-crt/crt/crtexe.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
index 1f3ad3a7a2b8..c68ac3734e8e 100644
--- a/mingw-w64-crt/crt/crtexe.c
+++ b/mingw-w64-crt/crt/crtexe.c
@@ -58,7 +58,7 @@ extern
On Wed, 16 Apr 2025, LIU Hao wrote:
Windows 11 24H2 can no longer run 32-bit ARM programs. I think we shouldn't
run armv7 tests any more.
I wholeheartedly disagree.
Yes, we can't run 32 bit arm programs on the latest versions of Windows,
and modern cores also may lack the 32 bit execution mo
Replace it by the local variable ret, as its value is used only in the
__tmainCRTStartup() function.
---
mingw-w64-crt/crt/crtexe.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
index 4134b948b7ae..3d36983b8a0d 10
This will ensure that _pei386_runtime_relocator() is called as the first
function and that all those runtime init code functions are called in
guarded block which prevents duplicate code execution.
---
mingw-w64-crt/crt/crtexe.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(
Code inside the block which fills argc/argv is already guarded and prevents
duplicate code execution. So move the duplicate_ppstrings() here.
---
mingw-w64-crt/crt/crtexe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
There is missing call _configthreadlocale(-1) in pre_c_init function.
Startup code from Visual C++ runtime is doing same thing.
This applies only for msvcr80+ and UCRT builds. For older msvcrt versions
there is only empty wrapper.
---
mingw-w64-crt/crt/crtexe.c | 1 +
1 file changed, 1 insertion(
Function __main() is function for executing gcc c++ constructors. Move it
into guarded code which prevents duplicate code execution, after executing
msvc c++ constructors (__xc_a-__xc_z callbacks).
---
mingw-w64-crt/crt/crtexe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m
This allows to remove the whole pre_c_init() and pre_cpp_init() functions
and registration of __mingw_pcinit and __mingw_pcppinit hooks.
Inlining the code allows to easily figure out in which order is
initialization code called.
Also merge code which is protected by __native_startup_lock into one
Function _fpreset() is declared in float.h.
---
mingw-w64-crt/crt/crtexe.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
index 7d5ba01ad0e9..94bad6aaff27 100644
--- a/mingw-w64-crt/crt/crtexe.c
+++ b/mingw-w64-crt/crt/
---
mingw-w64-libraries/winpthreads/src/thread.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/src/thread.c
b/mingw-w64-libraries/winpthreads/src/thread.c
index d5b3aaa05..f1af0ea44 100644
--- a/mingw-w64-libraries/winpthreads/src
10 matches
Mail list logo