17 Jan
2020
17 Jan
'20
10:49
Hi David, it is still experimental. You have to include it from there and link it accordingly. This works: g++ -Wall -Wextra -pedantic -Wshadow -std=c++17 -Ofast -o fs fs.cpp -lstdc++fs Greetings, Simon Am 17.01.20 um 08:26 schrieb David C. Rankin:
All,
Does gcc for 15.1 not provide filesystem support with -std=c++17? Example:
$ gpn filesys_dir_iter.cpp -std=c++17 -- g++ -Wall -Wextra -pedantic -Wshadow -std=c++17 -Ofast -o /tmp/bin/filesys_dir_iter filesys_dir_iter.cpp -- filesys_dir_iter.cpp:3:10: fatal error: filesystem: No such file or directory #include <filesystem> ^~~~~~~~~~~~ compilation terminated.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org