Comments (6)
Could still use the detection for Haiku, otherwise I'm getting: error "Operating system currently not supported!":
From: https://github.com/gulrak/filesystem/blob/master/include/ghc/filesystem.hpp#L79
#elif defined(__QNX__)
#define GHC_OS_QNX
+#elif defined(__HAIKU__)
+#define GHC_OS_HAIKU
#else
from filesystem.
You are right, I will add the detection.
from filesystem.
This is a valid solution for the used version ghc::filesystem v1.5.6, but with #142 this is not needed any more, as starting with v1.5.12 the code detects the presence of dirent.d_type
automatically at compile time.
from filesystem.
Related PR: #163
from filesystem.
This can be closed I think, created a stand-alone package on Haiku with the related PR here, build and install seem OK.
I'm doing a build for catch2 to see if I can run the provided tests here also, thanks so far! :)
from filesystem.
Upstream PR merged, thanks!
from filesystem.
Related Issues (20)
- ghc::filesystem::remove_all fails if symlink target is pointing to a read only filesystem HOT 4
- Termux has no <filesystem>; could this replace it? HOT 2
- Can't compile with nvcc HOT 4
- free(): invalid pointer
- GHC_NO_DIRENT_D_TYPE should be defined on Solaris HOT 6
- Throw filesystemerror (errno EINTR) in CIFS mounted disk. HOT 2
- VS2022 MSVC with `/W4` causes `warning C4127: conditional expression is constant` HOT 2
- The CMake build definition doesn't contain a version HOT 1
- function without noexcept occur false HOT 1
- directory_entry::refresh() throws on broken symlinks HOT 3
- More Code convertion support HOT 2
- Problems with UTIME_OMIT on mac_osx HOT 4
- Wrong result from stem/filename/extension when the ':' character is present in the filename HOT 2
- Warning when compiling with Microsoft compiler HOT 1
- Warning when compiling with Microsoft compiler HOT 2
- GHC_FILESYSTEM_WITH_INSTALL always on HOT 2
- Planning for a new release HOT 2
- Consider migrating to Catch2 v3 HOT 2
- path::extension() of parent directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filesystem.