Hi Marko, On 3/22/26 12:04 PM, Marko Riedel wrote:
When I try to compile the latest version cloned from Git I get the following error:
add.cpp: In member function ‘void GiNaC::add::print_add_sorted(const GiNaC::print_context&, const char*, const char*, const char*, unsigned int) const’: add.cpp:176:66: error: ‘std::ostream’ {aka ‘class std::basic_ostream<char>’} has no member named ‘str’ sorted_seq.emplace((std::ostringstream{} << sortex << it.rest).str(), it);
Interesting. The class ‘std::ostream’ indeed has no member named ‘str’, but its derived class ‘std::ostringstream’ does. See: <https://en.cppreference.com/w/cpp/io/basic_ostringstream.html> What's your compiler version, please? -richy. -- Richard B. Kreckel <https://in.terlu.de/~kreckel/>