diff options
author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2001-08-13 10:03:45 +0000 |
---|---|---|
committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2001-08-13 10:03:45 +0000 |
commit | 3605b283e8be90c330490d12d95af51a588f7e52 (patch) | |
tree | ddc6bf9ac16a1fa7342ae6e281bf7e709787c29c /gcc/cp/decl2.c | |
parent | 5d0cab94d002075eb728ac5d6ce3a9eeb09b1f90 (diff) | |
download | gcc-3605b283e8be90c330490d12d95af51a588f7e52.zip gcc-3605b283e8be90c330490d12d95af51a588f7e52.tar.gz gcc-3605b283e8be90c330490d12d95af51a588f7e52.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 0a9e5ad..7be3368 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -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; } |