Skip to content

Refactor: switch to std::filesystem and fix Linux 2.6.32 compatibility#745

Merged
dnzbk merged 3 commits intodevelopfrom
fix/linux-2.6.32
Mar 4, 2026
Merged

Refactor: switch to std::filesystem and fix Linux 2.6.32 compatibility#745
dnzbk merged 3 commits intodevelopfrom
fix/linux-2.6.32

Conversation

@dnzbk
Copy link
Copy Markdown
Collaborator

@dnzbk dnzbk commented Feb 25, 2026

Description

  • Migrated from boost::filesystem to std::filesystem;
  • Fixed filesystem-related issues on older Linux 2.6.32 systems;
  • Implemented boost::filesystem fallback for Android and macOS Mojave;
  • Removed unused cmakedefines from config.h.in

Lib changes

Switched to std::filesystem for modern platforms, while retaining boost::filesystem for Android and macOS Mojave due to their SDK limitations.

Testing

  • Windows 7,10 amd64
  • macOS Tahoe arrch64
  • FreeBSD 15 aarch64
  • Debian 13 aarch64
  • Docker armv7
  • Synology armel

@dnzbk dnzbk requested review from luckedea and phnzb February 25, 2026 08:16
@dnzbk dnzbk marked this pull request as draft February 25, 2026 08:16
@dnzbk dnzbk marked this pull request as ready for review March 2, 2026 08:58
Copy link
Copy Markdown
Member

@luckedea luckedea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@dnzbk dnzbk merged commit 369800f into develop Mar 4, 2026
9 checks passed
@dnzbk dnzbk deleted the fix/linux-2.6.32 branch March 4, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants