Closed swar-mukh closed 3 days ago
As per the documentation for std::hash<std::filesystem::path>
in C++ reference, the operator()
is not enabled for C++17 and below.
This specialization was absent from the C++17 standard publication, see LWG issue 3657.
I guess the clang
C++ compiler (w.r.t. this bug report) is also missing the above in its implementation. The only option currently is to downgrade the usage at call site to std::filesystem::hash_value(p)
.
Describe the bug
When
./script.sh init compile build
is invoked,cbt
fails to compile with the following error:cbt
informationBuilding from source
N/A
Environment
MacOS Sonoma
M2
clang
To reproduce
Steps to reproduce the behaviour:
./script.sh init compile build
Expected behaviour (optional)
Build should be successful
Additional context (optional)
Thanks @ratnadeep007 for pointing it out!