This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15244] New: implicit conversions in c++
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 07 Mar 2013 15:48:20 +0000
- Subject: [Bug c++/15244] New: implicit conversions in c++
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15244
Bug #: 15244
Summary: implicit conversions in c++
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
gdb does not support implicit conversions in c++.
For example this is valid:
struct q {
operator int()
{
return 23;
}
q() { }
q(int z) { }
};
extern int x(int);
extern int y(q);
int callx()
{
q qval;
return x(qval) + y(23);
}
--
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.