public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/26183] New: GDB build fails with error: ‘class std::basic_string_view<char>’ has no member named ‘to_string’
@ 2020-06-29 17:50 bergner at linux dot ibm.com
  2020-06-29 17:51 ` [Bug build/26183] " bergner at linux dot ibm.com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bergner at linux dot ibm.com @ 2020-06-29 17:50 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26183

            Bug ID: 26183
           Summary: GDB build fails with error: ‘class
                    std::basic_string_view<char>’ has no member named
                    ‘to_string’
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: bergner at linux dot ibm.com
  Target Milestone: ---

Building current gdb trunk source using a gcc trunk build from today, I'm
seeing the following build (powerpc64le-linux) error:

/home/bergner/binutils/binutils-gdb/gdb/ada-lang.c: In constructor
‘ada_lookup_name_info::ada_lookup_name_info(const lookup_name_info&)’:
/home/bergner/binutils/binutils-gdb/gdb/ada-lang.c:13556:50: error: ‘class
std::basic_string_view<char>’ has no member named ‘to_string’
13556 |    = user_name.substr (1, user_name.size () - 2).to_string ();
      |                                                  ^~~~~~~~~
/home/bergner/binutils/binutils-gdb/gdb/ada-lang.c:13559:50: error: ‘class
std::basic_string_view<char>’ has no member named ‘to_string’
13559 |    = user_name.substr (1, user_name.size () - 1).to_string ();
      |                                                  ^~~~~~~~~
/home/bergner/binutils/binutils-gdb/gdb/ada-lang.c:13578:33: error: ‘using
string_view = using string_view = class std::basic_string_view<char>’ {aka
‘class std::basic_string_view<char>’} has no member named ‘to_string’
13578 |      m_encoded_name = user_name.to_string ();
      |                                 ^~~~~~~~~
/home/bergner/binutils/binutils-gdb/gdb/ada-lang.c:13581:29: error: ‘using
string_view = using string_view = class std::basic_string_view<char>’ {aka
‘class std::basic_string_view<char>’} has no member named ‘to_string’
13581 |  m_encoded_name = user_name.to_string ();
      |                             ^~~~~~~~~
make: *** [Makefile:1610: ada-lang.o] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-30 14:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 17:50 [Bug build/26183] New: GDB build fails with error: ‘class std::basic_string_view<char>’ has no member named ‘to_string’ bergner at linux dot ibm.com
2020-06-29 17:51 ` [Bug build/26183] " bergner at linux dot ibm.com
2020-06-29 17:57 ` tuliom at ascii dot art.br
2020-06-29 18:04 ` bergner at linux dot ibm.com
2020-06-29 18:19 ` tromey at sourceware dot org
2020-06-29 18:28 ` bergner at linux dot ibm.com
2020-06-29 18:34 ` tromey at sourceware dot org
2020-06-29 18:35 ` tromey at sourceware dot org
2020-06-29 18:36 ` tromey at sourceware dot org
2020-06-29 18:50 ` simark at simark dot ca
2020-06-29 19:27 ` tromey at sourceware dot org
2020-06-30 13:55 ` cvs-commit at gcc dot gnu.org
2020-06-30 14:45 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).