mixed results with more C++ module experimentation
First experiment: do I need to import all of the std library? I tried this: import iostream; int main() { std::cout << "hello world\n"; return 0; } I didn’t know if gcm.cache/std.gcm (already built from my previous experiment) would supply that export, but I get: g++ -std=c++23 -fmodules -c -o broken.o broken.cc In module imported at broken.cc:1:1: iostream: error: failed to read compiled…
View On WordPress












