[FarGroup/FarManager] master: adopt plugins::CRT to build wih VS2026 (d138157e4)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
May 26, 2026, 12:00:56 PM (2 days ago) May 26
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/d138157e4ec90b4763836ee05e6f579a02291012

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

commit d138157e4ec90b4763836ee05e6f579a02291012
Author: Iouri Kharon <bc-...@styx.cabel.net>
Date: Tue May 26 18:45:09 2026 +0300

adopt plugins::CRT to build wih VS2026


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

d138157e4ec90b4763836ee05e6f579a02291012
plugins/common/CRT/strncmp.cpp | 5 +++++
plugins/common/CRT/strncpy.cpp | 5 +++++
2 files changed, 10 insertions(+)

diff --git a/plugins/common/CRT/strncmp.cpp b/plugins/common/CRT/strncmp.cpp
index 29a69ec2d..093c10303 100644
--- a/plugins/common/CRT/strncmp.cpp
+++ b/plugins/common/CRT/strncmp.cpp
@@ -1,5 +1,10 @@
#include "crt.hpp"

+#if _MSC_VER >= 1951
+ #pragma function(strncmp)
+ #pragma function(wcsncmp)
+#endif
+
int __cdecl
#ifndef UNICODE
strncmp
diff --git a/plugins/common/CRT/strncpy.cpp b/plugins/common/CRT/strncpy.cpp
index 5b5ad2c7a..5272bea6c 100644
--- a/plugins/common/CRT/strncpy.cpp
+++ b/plugins/common/CRT/strncpy.cpp
@@ -1,5 +1,10 @@
#include "crt.hpp"

+#if _MSC_VER >= 1951
+ #pragma function(strncpy)
+ #pragma function(wcsncpy)
+#endif
+
TCHAR * __cdecl
#ifndef UNICODE
strncpy


Reply all
Reply to author
Forward
0 new messages