This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/18881] bogus 'Cannot resolve function foo to any overloaded instance'
- From: "keiths at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 09 Mar 2017 22:09:27 +0000
- Subject: [Bug c++/18881] bogus 'Cannot resolve function foo to any overloaded instance'
- Auto-submitted: auto-generated
- References: <bug-18881-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18881
Keith Seitz <keiths at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |keiths at redhat dot com
--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
Is this still a problem? This appears to be working since 7.9:
$ ./gdb -ex 'b bar' -ex r -ex 'p FOO1(b)' -ex 'p FOO2(b)' \
-ex 'p foo((A)b)' -ex 'p foo((A)b) ? foo((A)b) : foo((A)b)' ~/tmp/18881
Breakpoint 1, bar (b=0x7fffffffd9bf) at 18881.cc:14
14 if (FOO2 (b))
$1 = (const U *) 0x7fffffffd9bf
$2 = (const U *) 0x7fffffffd9bf
$3 = (const U *) 0x7fffffffd9bf
$4 = (const U *) 0x7fffffffd9bf
(gdb) show version
GNU gdb (GDB) 7.9.1.20150702-cvs
[snip]
--
You are receiving this mail because:
You are on the CC list for the bug.