Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use boost::filesystem::path instead of std::filesystem::path to …
…be compatible with lower gcc/clang versions (apache#1771) apache#1772 Building jobs for Ubuntu 1804, CentOS 7 and Clang-9 failed due to "fatal error: filesystem: No such file or directory #include <filesystem>" while the Action `Lint and build regularly` was run on Github. The compiler versions of Ubuntu 1804, CentOS 7 and Clang-9 are GCC 7.5.0, GCC 7.3.1 and Clang 9. All of these versions do not support including `<filesystem>` header file and using `std::filesystem`. The minimum compiler versions that support `std::filesystem` are GCC 8 and Clang 10. The reason to be compatible with lower GCC/Clang versions is that GCC 7 is high enough for now. Upgrading GCC version might lead to errors for users while building Pegasus on their own development environments.
- Loading branch information