Код: Выделить всё
import std;
int main() {}
Код: Выделить всё
/usr/local/bin/g++ -g -std=c++23 -fconcepts -fmodules-ts -O3 -Wall -Wextra test400.cc --output test400
Код: Выделить всё
std: error: failed to read compiled module: No such file or directory
std: note: compiled module file is 'gcm.cache/std.gcm'
std: note: imports must be built before being imported
std: fatal error: returning to the gate for a mechanical issue
Помимо модулей заголовка: есть ли способ создать модуль std самостоятельно?
Подробнее здесь: https://stackoverflow.com/questions/761 ... d-with-gcc
Мобильная версия