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

            Bug ID: 85670
           Summary: `std::filesystem` does not compile on mingw-w64
           Product: gcc
           Version: 8.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lh_mouse at 126 dot com
  Target Milestone: ---

Created attachment 44080
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44080&action=edit
compiler errors

Compiling this simple code using `g++ -std=c++17 test.cc`:

```
#include <filesystem>

int main() {
        std::filesystem::rename(std::filesystem::path("a"),
std::filesystem::path("b"));
}
```
results in a number of errors (attached).

The `no match for 'operator!='` error is caused by inline definition of `path&
operator/=(const path& __p)`, where the `operator!=()` has not been visible.

Reply via email to