[FarGroup/FarManager] master: Fix GCC build (9eb435a7a)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Oct 10, 2025, 2:31:00 PMOct 10
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/9eb435a7a128a59ad7ab6299c2765ff44b924455

>---------------------------------------------------------------

commit 9eb435a7a128a59ad7ab6299c2765ff44b924455
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Fri Oct 10 19:21:42 2025 +0100

Fix GCC build


>---------------------------------------------------------------

9eb435a7a128a59ad7ab6299c2765ff44b924455
far/exception_handler.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/far/exception_handler.cpp b/far/exception_handler.cpp
index a74fdd2b1..7f86dd61a 100644
--- a/far/exception_handler.cpp
+++ b/far/exception_handler.cpp
@@ -2215,7 +2215,7 @@ extern "C" void _invalid_parameter(wchar_t const*, wchar_t const*, wchar_t const
WARNING_PUSH()
WARNING_DISABLE_CLANG("-Wmissing-noreturn")

-static void _invalid_parameter(wchar_t const*, wchar_t const*, wchar_t const*, unsigned int, uintptr_t)
+void _invalid_parameter(wchar_t const*, wchar_t const*, wchar_t const*, unsigned int, uintptr_t)
{
os::process::terminate(STATUS_INVALID_CRUNTIME_PARAMETER);
}


Reply all
Reply to author
Forward
0 new messages