From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D3090386F837; Mon, 29 Jun 2020 18:19:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3090386F837 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBidWlsZC8yNjE4M10gR0RCIGJ1aWxkIGZhaWxzIHdpdGgg?= =?UTF-8?B?ZXJyb3I6IOKAmGNsYXNzIHN0ZDo6YmFzaWNfc3RyaW5nX3ZpZXc8Y2hhcj4=?= =?UTF-8?B?4oCZIGhhcyBubyBtZW1iZXIgbmFtZWQg4oCYdG9fc3RyaW5n4oCZ?= Date: Mon, 29 Jun 2020 18:19:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 18:19:53 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26183 --- Comment #2 from Tom Tromey --- The problem was latent before my patch. I think the issue is that our string_view has to_string, but C++ officially does not. https://en.cppreference.com/w/cpp/string/basic_string_view The gdb one was copied from libstdc++; I don't know if this represents a local divergence (seems unlikely), or if upstream / the standard changed. Probably the solution is to change gdbsupport's string view to have a "gdb::to_string" free function, then use that instead. When using the real string view, this can simply use a string constructor. --=20 You are receiving this mail because: You are on the CC list for the bug.=