Closed
Description
I get the following error compiling a C++ test file with swiftly installed:
❯ clang++ -std=c++20 test.cpp
test.cpp:1:10: fatal error: 'string' file not found
1 | #include <string>
| ^~~~~~~~
1 error generated.
test.cpp
#include <string>
int main() {
}
The C++ standard library header files should be available even with swiftly installed.
This version of clang++ cannot find the C++ standard library.
❯ which clang++
/Users/sbehnke/.swiftly/bin/clang++
This works as expected.
❯ /usr/bin/clang++ -std=c++20 test.cpp
Metadata
Metadata
Assignees
Labels
No labels