type checking error in 980921 ?
David C Binderman
dcb@pncl.co.uk
Sun Sep 27 11:37:00 GMT 1998
Hello there,
I think the following code has two errors, at the marked lines.
egcs-980921 on machine alphaev56-unknown-linux-gnu and at least
6 previous snapshots find neither error, even with -ansi -pedantic
struct A {
void f1();
void f2() const;
};
typedef void (A::*pmf1)() const;
typedef void (A::*pmf2)() ;
pmf1 p1 = &A::f1; // error here, surely ?
pmf2 p2 = &A::f2; // error here, surely ?
Regards
David C Binderman MSc BSc +44 1293 534847 dcb@pncl.co.uk
More information about the Gcc-bugs
mailing list