[FarGroup/FarManager] master: Clang 21 build (87a2dc1a3)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Aug 29, 2025, 6:15:52 PM (9 days ago) Aug 29
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/87a2dc1a3dc76326d54e656902c65db2968a85c5

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

commit 87a2dc1a3dc76326d54e656902c65db2968a85c5
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Fri Aug 29 23:08:32 2025 +0100

Clang 21 build


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

87a2dc1a3dc76326d54e656902c65db2968a85c5
plugins/makefile_gcc_target_inc | 4 ++--
plugins/proclist/format.cpp | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/plugins/makefile_gcc_target_inc b/plugins/makefile_gcc_target_inc
index df592cc01..df86d7431 100644
--- a/plugins/makefile_gcc_target_inc
+++ b/plugins/makefile_gcc_target_inc
@@ -17,12 +17,12 @@ ifeq ($(findstring clean,$(MAKECMDGOALS)),)
$(OBJDIR)/%.d: %.cpp
@echo making depends for $<
$(MKDIR) $(@D)
- $(CXX) -c -MM $(CPPFLAGS) $< | $(GAWK) -f $(DEP_FILTER) -v n=$(notdir $(basename $@)) -v r=$(OBJDIR) > $(call os_name,$@)
+ $(CXX) -MM $(CPPFLAGS) $< | $(GAWK) -f $(DEP_FILTER) -v n=$(notdir $(basename $@)) -v r=$(OBJDIR) > $(call os_name,$@)

$(OBJDIR)/%.d: %.c
@echo making depends for $<
$(MKDIR) $(@D)
- $(CC) -c -MM $(CFLAGS) $< | $(GAWK) -f $(DEP_FILTER) -v n=$(notdir $(basename $@)) -v r=$(OBJDIR) > $(call os_name,$@)
+ $(CC) -MM $(CFLAGS) $< | $(GAWK) -f $(DEP_FILTER) -v n=$(notdir $(basename $@)) -v r=$(OBJDIR) > $(call os_name,$@)
endif
endif

diff --git a/plugins/proclist/format.cpp b/plugins/proclist/format.cpp
index a95314ffb..e607760b1 100644
--- a/plugins/proclist/format.cpp
+++ b/plugins/proclist/format.cpp
@@ -1,4 +1,6 @@
-#include "format.hpp"
+#include <cstdlib>
+
+#include "format.hpp"

WARNING_PUSH(3)



Reply all
Reply to author
Forward
0 new messages