http://bugzilla.opensuse.org/show_bug.cgi?id=1167465 Bug ID: 1167465 Summary: GCC 10: chromium build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... due to: [ 214s] In file included from ../../base/trace_event/trace_event_memory_overhead.cc:5: [ 214s] ../../base/trace_event/trace_event_memory_overhead.h:60:29: error: 'string' in namespace 'std' does not name a type [ 214s] 60 | void AddString(const std::string& str); [ 214s] | ^~~~~~ [ 214s] ../../base/trace_event/trace_event_memory_overhead.h:15:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'? [ 214s] 14 | #include "base/macros.h" [ 214s] +++ |+#include <string> [ 214s] 15 | [ 214s] ../../base/trace_event/trace_event_memory_overhead.cc:87:6: error: no declaration matches 'void base::trace_event::TraceEventMemoryOverhead::AddString(const string&)' [ 214s] 87 | void TraceEventMemoryOverhead::AddString(const std::string& str) { [ 214s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 214s] In file included from ../../base/trace_event/trace_event_memory_overhead.cc:5: [ 214s] ../../base/trace_event/trace_event_memory_overhead.h:60:8: note: candidate is: 'void base::trace_event::TraceEventMemoryOverhead::AddString(const int&)' [ 214s] 60 | void AddString(const std::string& str); [ 214s] | ^~~~~~~~~ [ 214s] ../../base/trace_event/trace_event_memory_overhead.h:26:19: note: 'class base::trace_event::TraceEventMemoryOverhead' defined here [ 214s] 26 | class BASE_EXPORT TraceEventMemoryOverhead { [ 214s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 214s] ../../base/trace_event/trace_event_memory_overhead.cc: In member function 'void base::trace_event::TraceEventMemoryOverhead::AddRefCountedString(const base::RefCountedString&)': [ 214s] ../../base/trace_event/trace_event_memory_overhead.cc:94:21: error: cannot convert 'const string' {aka 'const std::__cxx11::basic_string<char>'} to 'const int&' [ 214s] 94 | AddString(str.data()); [ 214s] | ~~~~~~~~^~ [ 214s] | | [ 214s] | const string {aka const std::__cxx11::basic_string<char>} -- You are receiving this mail because: You are on the CC list for the bug.