[Bug libstdc++/91067] [9/10 Regression] Clang compiler can't link executable if std::filesystem::directory_iterator is encountered
ostash at ostash dot kiev.ua
gcc-bugzilla@gcc.gnu.org
Fri Aug 16 10:03:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91067
--- Comment #15 from Viktor Ostashevskyi <ostash at ostash dot kiev.ua> ---
(In reply to Jonathan Wakely from comment #14)
> I can reproduce the link failure. For some reason Clang requires that
> constructor at -O1, but not at any other optimization level.
It will require it at any -O level with fno-inline.
More information about the Gcc-bugs
mailing list