This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34111] new overload resolution error
- From: "mueller at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2007 23:17:52 -0000
- Subject: [Bug c++/34111] new overload resolution error
- References: <bug-34111-12049@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mueller at gcc dot gnu dot org 2007-11-15 23:17 -------
reduced testcase:
class QChar
{
};
struct QString
{
QString(QChar);
};
struct QPainter
{
void drawText (int x, int y, const QString &);
};
class KHEChar:public QChar
{
public:KHEChar (QChar C);
};
void
drawByte (QPainter * P, char, KHEChar B)
{
P->drawText (0, 0, B);
}
--
mueller at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-15 23:17:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34111