for gcc/cp/ChangeLog: * typeck.c (unary_complex_lvalue): Improve error message about bound pointer-to-member to complain about missing argument list Index: gcc/cp/typeck.c =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/typeck.c,v retrieving revision 1.110 diff -u -r1.110 typeck.c --- gcc/cp/typeck.c 1998/09/25 09:00:03 1.110 +++ gcc/cp/typeck.c 1998/10/01 03:12:05 @@ -4874,9 +4874,7 @@ != error_mark_node))) if (TREE_CODE (t) != FIELD_DECL) { - /* Don't know if this should return address to just - _DECL, or actual address resolved in this expression. */ - sorry ("address of bound pointer-to-member expression"); + error ("missing argument list in method invocation"); return error_mark_node; }