* class.c (finish_struct_1): Use OVL_CURRENT in error message.
From-SVN: r19829
This commit is contained in:
parent
7e71719699
commit
95480b77a2
@ -1,3 +1,7 @@
|
||||
Mon May 18 01:43:01 1998 Martin v. Loewis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* class.c (finish_struct_1): Use OVL_CURRENT in error message.
|
||||
|
||||
Mon May 18 01:24:08 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* Makefile.in (program_transform_name, objdir): Define.
|
||||
|
@ -3710,7 +3710,7 @@ finish_struct_1 (t, warn_anon)
|
||||
{
|
||||
cp_error ("cannot adjust access to `%#D' in `%#T'", fdecl, t);
|
||||
cp_error_at (" because of local method `%#D' with same name",
|
||||
TREE_VEC_ELT (method_vec, i));
|
||||
OVL_CURRENT (TREE_VEC_ELT (method_vec, i)));
|
||||
fdecl = NULL_TREE;
|
||||
break;
|
||||
}
|
||||
@ -3827,7 +3827,7 @@ finish_struct_1 (t, warn_anon)
|
||||
{
|
||||
cp_error_at ("data member `%#D' conflicts with", x);
|
||||
cp_error_at ("function member `%#D'",
|
||||
TREE_VEC_ELT (method_vec, i));
|
||||
OVL_CURRENT (TREE_VEC_ELT (method_vec, i)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user