vtkXMLFileOutputWindow.cxx:36:87: error: no matching function for call to ‘std::basic_ofstream<char>::basic_ofstream...
!6122 (merged) is breaking compilation with MinGW because GCC's ofstream does not have a wstring ctor:
#ifdef _WIN32
this->OStream =
new ofstream(vtksys::Encoding::ToWindowsExtendedPath(this->FileName), ios::app);
#else
this->OStream = new ofstream(this->FileName, ios::app);
#endif
I suspect these code paths are for MSVC only: if I replace _WIN32
with _MSC_VER
in it goes fine, could you fix it @todoooo ?
see also http://www.cplusplus.com/reference/fstream/ofstream/ofstream/
Edited by Julien Schueller