Aegisub icon indicating copy to clipboard operation
Aegisub copied to clipboard

Workaround build error with clang/libc++ in agi::fs::path

Open driver1998 opened this issue 8 months ago • 0 comments

The std::basic_fstream implementation in libc++ does not allow constructing with a derived class of std::filesystem::path like agi::fs::path. (There is a is_same_v constraint.)

Workaround by getting its underly string manually. Fixes building with LLVM based MinGW environments, including Windows on ARM.

This kind of defeats the purpose of agi::fs::path, therefore currently sent as draft.

driver1998 avatar Apr 19 '25 16:04 driver1998