Commit 95480b77 by Martin v. Löwis Committed by Jason Merrill

* class.c (finish_struct_1): Use OVL_CURRENT in error message.

From-SVN: r19829
parent 7e717196
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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment