Skip to content

Conversation

@driver1998
Copy link

@driver1998 driver1998 commented Apr 19, 2025

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.

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 defeat the purpose of `agi::fs::path`, therefore currently sent as draft.
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.

1 participant