13
0

Fix gcc-4.2/PPC builds

Old STL has an issue with ambiguity
   reverse_iterator rend();
   const_reverse_iterator rend() const;
This commit is contained in:
Robin Gareus 2020-04-02 03:43:29 +02:00
parent 42af08fb92
commit 163a065543
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -518,7 +518,7 @@ UI::dump_errors (std::ostream& ostr, size_t limit)
if (limit > 0) {
/* reverse listing, Errors only */
for (list<string>::const_reverse_iterator i = error_stack.rbegin(); i != error_stack.rend(); ++i) {
for (list<string>::reverse_iterator i = error_stack.rbegin(); i != error_stack.rend(); ++i) {
if ((*i).substr (0, 9) == X_("WARNING: ") || (*i).substr (0, 6) == X_("INFO: ")) {
continue;
}