[PATCH] Do not define basic_string_view::to_string

Peter Bergner bergner@linux.ibm.com
Tue Jun 30 02:22:27 GMT 2020


On 6/29/20 2:08 PM, Tom Tromey wrote:
> gdb/ChangeLog
> 2020-06-29  Tom Tromey  <tromey@adacore.com>
> 
> 	PR build/26183:
> 	* ada-lang.c (ada_lookup_name_info::ada_lookup_name_info): Use
> 	gdb::to_string.
> 
> gdbsupport/ChangeLog
> 2020-06-29  Tom Tromey  <tromey@adacore.com>
> 
> 	PR build/26183:
> 	* gdb_string_view.h (basic_string_view::to_string): Remove.
> 	(gdb::to_string): New function.

I can confirm this patch fixes the build issue for me.
Thanks for the quick fix!

Peter



More information about the Gdb-patches mailing list