diff options
author | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-10 07:37:37 +0000 |
---|---|---|
committer | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-10 07:37:37 +0000 |
commit | ca82e0269f1462bbed6cafe019535bd5eae67837 (patch) | |
tree | 29acfc35ef9268967bd768e6d51fe3e60b986d58 /gcc/cp/search.c | |
parent | add484259260a8422235e803190e81c59d661b92 (diff) | |
download | gcc-ca82e0269f1462bbed6cafe019535bd5eae67837.tar.gz |
2010-02-10 Shujing Zhao <pearly.zhao@oracle.com>
* Make-lang.in (cp/cvt.o, cp/parser.o, cp/search.o): Depend on intl.h.
* cvt.c (warn_ref_binding): Wrap the messages into G_() for easy
translation.
* parser.c (cp_parser_postfix_expression, cp_parser_new_type_id)
(cp_parser_cast_expression, cp_parser_condition, cp_parser_decltype)
(cp_parser_parameter_declaration)
(cp_parser_exception_specification_opt)
(cp_parser_exception_declaration): Likewise.
* pt.c (check_default_tmpl_args): Likewise.
* search.c (lookup_field_r): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r-- | gcc/cp/search.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c index c07a5e66d8e..772ae3b1fbe 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "tree.h" #include "cp-tree.h" +#include "intl.h" #include "obstack.h" #include "flags.h" #include "rtl.h" @@ -1101,7 +1102,7 @@ lookup_field_r (tree binfo, void *data) /* Add the new value. */ lfi->ambiguous = tree_cons (NULL_TREE, nval, lfi->ambiguous); TREE_TYPE (lfi->ambiguous) = error_mark_node; - lfi->errstr = "request for member %qD is ambiguous"; + lfi->errstr = G_("request for member %qD is ambiguous"); } } else |