Build error
Opened this issue · 0 comments
meerfrau commented
I've tried with GCC 13.2.1. Do I have to set another C++ standard?
In file included from ./lu/src/main.cpp:6:
./lu/include/ptype.hpp: In constructor 'PType::PType(const std::filesystem::__cxx11::directory_entry&)':
./lu/include/ptype.hpp:76:66: error: 'to_time_t' is not a member of 'std::chrono::time_point<std::filesystem::__file_clock>::clock'
76 | std::time_t tt = decltype(entry.last_write_time())::clock::to_time_t(
| ^~~~~~~~~
./lu/src/main.cpp: In function 'void handle_multiple_entries(std::ostream&, const Path&)':
./lu/src/main.cpp:68:8: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
68 | std::sort(entry_ptypes.begin(), entry_ptypes.end(),
| ^~~~
| qsort