2 дня назад я с радостью заметил, что MinGW-w64 выпустил gcc 8.1.0, ревизия 0. К сожалению, простая программа
#include <filesystem>
int main() {}
не компилируется.Это приводит к куче ошибок внутри <filesystem>
, начиная с
C:/MinGW/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/fs_path.h: In member function 'std::filesystem::__cxx11::path& std::filesystem::__cxx11::path::operator/=(const std::filesystem::__cxx11::path&)':
C:/MinGW/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/fs_path.h:237:47: error: no match for 'operator!=' (operand types are 'std::filesystem::__cxx11::path' and 'std::filesystem::__cxx11::path')
|| (__p.has_root_name() && __p.root_name() != root_name()))
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
Кто в этом виноват?Или лучше - кому сообщить об этой ошибке?