[xsd-users] XSD fails to build with gcc 10.3.0

Dorier, Matthieu mdorier at anl.gov
Tue Jun 22 12:37:03 EDT 2021


Hi,

I was trying to build XSD on my Ubuntu machine with gcc 10.3.0 and it eventually fails with the following error:

/projects/xsd-4.0.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx: In function ‘std::wostream& operator<<(std::wostream&, const Path&)’:
/projects/xsd-4.0.0+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx:298:13: error: no match for ‘operator<<’ (operand types are ‘std::wostream’ {aka ‘std::basic_ostream<wchar_t>’} and ‘cutl::fs::basic_path<char>::string_type’ {aka ‘std::__cxx11::basic_string<char>’})
  298 |   return os << path.string ();
      |          ~~ ^~ ~~~~~~~~~~~~~~
      |          |                 |
      |          |                 cutl::fs::basic_path<char>::string_type {aka std::__cxx11::basic_string<char>}
      |          std::wostream {aka std::basic_ostream<wchar_t>}

It seems to build fine on another machine with gcc 9.3.0.

Thanks,

Matthieu


More information about the xsd-users mailing list