https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113246

--- Comment #1 from Davide Pesavento <davidepesa at gmail dot com> ---
Another interesting(?) behavior, when run from a non-existing (deleted) working
directory:

weakly_canonical("foo") returns "foo", while weakly_canonical("./foo") throws:

> terminate called after throwing an instance of 
> 'std::filesystem::__cxx11::filesystem_error'
>   what():  filesystem error: cannot make canonical path: No such file or 
> directory [.]

Reply via email to