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:
parent
42af08fb92
commit
163a065543
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user