在 2026-1-26 07:16, Pali Rohár 写道:
From 2b5b19961f884fc944bcb51814045fc35fef3e41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pali=20Roh=C3=A1r?= <[email protected]>
Date: Sat, 17 Jan 2026 12:16:46 +0100
Subject: [PATCH 06/10] headers: Remove #ifdef _UCRT around quick_exit and
 at_quick_exit

C++ header files are trying to put quick_exit and at_quick_exit functions
into :: or std:: namespace. If those functions are not declared then
compilation is failing with error:
error: 'at_quick_exit' has not been declared in '::'
And it does not matter if those functions are used or not.
---
 mingw-w64-headers/crt/stdlib.h | 4 ----
 1 file changed, 4 deletions(-)

Do such headers exist in the wild? Both libstdc++ and libc++ declare them 
conditionally.


commit 8552c9bf4dbd8d83945eff2c5d32b8c81f96fcfd
Author:     Kirill Makurin <[email protected]>
AuthorDate: 2026-01-17 19:43:19 +0900
Commit:     LIU Hao <[email protected]>
CommitDate: 2026-01-26 15:32:34 +0800

    Try fix C++ linking

    Signed-off-by: LIU Hao <[email protected]>

Would you elaborate the purpose of this change?





--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to