This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/12096] New: gdb does not support user defined conversions
- From: "swagiaal at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 5 Oct 2010 16:09:31 +0000
- Subject: [Bug c++/12096] New: gdb does not support user defined conversions
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12096
Summary: gdb does not support user defined conversions
Product: gdb
Version: 7.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: swagiaal@redhat.com
class A { public: operator int() {return 0;}}
void foo (int) {return 11;}
A a;
(gdb)p foo(a)
Cannot resolve function foo to any overloaded instance
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.