Hi,
I was looking at the same issue in Ubuntu.

After identifying that just some std headers no longer auto-include
iostreams I found a rather simple fix that I hereby wanted to submit to you
(attached).

A test build across all architectures worked fine again with that applied
[1].
FYI - I also have sent that patch to the MRS Author as listed on [2]

MRS was removed from testing [3] due to this and I'd think this could bring
it back.

[1]:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4189/+packages
[2]: http://mrs.cmbi.ru.nl/
[3]: https://tracker.debian.org/news/1166233/mrs-removed-from-testing/

-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd
Description: fix gcc-10 build
 iostream is not auto included anymore through other headers, therefore we hit
  src/M6Tokenizer.cpp: In function ‘std::ostream& operator<<(std::ostream&, M6Token)’:
  src/M6Tokenizer.cpp:32:28: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [10]’)
     32 |   case eM6TokenNone:    os << "no token?"; break;
 Fix just needs an explicit iostream include in one place.
Forwarded: yes (via email to the Author as listed on https://mrs.cmbi.ru.nl/)
Author: Christian Ehrhardt <christian.ehrha...@canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mrs/+bug/1891023
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957567
Last-Update: 2020-08-11
--- a/src/M6Tokenizer.cpp
+++ b/src/M6Tokenizer.cpp
@@ -9,6 +9,7 @@
 #include <cstring>
 #include <vector>
 #include <iterator>
+#include <iostream>
 #include <algorithm>
 
 #include <tr1/tuple>

Reply via email to