This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22369] New: C++ produces mis-matched types with pointers to member functions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2005 15:32:17 -0000
- Subject: [Bug c++/22369] New: C++ produces mis-matched types with pointers to member functions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
struct A { void f() { } };
struct B: public A { };
typedef void (B::*bp)();
int main()
{
bp b = &A::f;
}
--
Summary: C++ produces mis-matched types with pointers to member
functions
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 22368
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22369