Commit 3605b283 by Kriang Lerdsuwanakij Committed by Kriang Lerdsuwanakij

decl2.c (do_nonmember_using_decl): Replace using directive with using…

decl2.c (do_nonmember_using_decl): Replace using directive with using declaration in the error message.

	* decl2.c (do_nonmember_using_decl): Replace using directive
	with using declaration in the error message.

From-SVN: r44847
parent 5d0cab94
2001-08-13 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* decl2.c (do_nonmember_using_decl): Replace using directive
with using declaration in the error message.
2001-08-11 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the
......
......@@ -5022,7 +5022,7 @@ do_nonmember_using_decl (scope, name, oldval, oldtype, newval, newtype)
*newtype = BINDING_TYPE (decls);
if (oldtype && *newtype && oldtype != *newtype)
{
cp_error ("using directive `%D' introduced ambiguous type `%T'",
cp_error ("using declaration `%D' introduced ambiguous type `%T'",
name, oldtype);
return;
}
......
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