Commit 3855d0d1 by Joseph Myers Committed by Joseph Myers

gcc.pot: Regenerate.

	* po/gcc.pot: Regenerate.

cp:
	* call.c, decl2.c, init.c: Use "built-in" and "bit-field"
	spellings in messages.

From-SVN: r48148
parent 5faa1c16
2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* po/gcc.pot: Regenerate.
2001-12-18 Kazu Hirata <kazu@hxi.com> 2001-12-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix comment typos. * config/h8300/h8300.c: Fix comment typos.
......
2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* call.c, decl2.c, init.c: Use "built-in" and "bit-field"
spellings in messages.
2001-12-17 Zack Weinberg <zack@codesourcery.com> 2001-12-17 Zack Weinberg <zack@codesourcery.com>
* cp-tree.h: Delete #defines for cp_error, cp_warning, * cp-tree.h: Delete #defines for cp_error, cp_warning,
......
...@@ -2335,16 +2335,16 @@ print_z_candidates (candidates) ...@@ -2335,16 +2335,16 @@ print_z_candidates (candidates)
if (TREE_CODE (candidates->fn) == IDENTIFIER_NODE) if (TREE_CODE (candidates->fn) == IDENTIFIER_NODE)
{ {
if (TREE_VEC_LENGTH (candidates->convs) == 3) if (TREE_VEC_LENGTH (candidates->convs) == 3)
error ("%s %D(%T, %T, %T) <builtin>", str, candidates->fn, error ("%s %D(%T, %T, %T) <built-in>", str, candidates->fn,
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0)), TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0)),
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 1)), TREE_TYPE (TREE_VEC_ELT (candidates->convs, 1)),
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 2))); TREE_TYPE (TREE_VEC_ELT (candidates->convs, 2)));
else if (TREE_VEC_LENGTH (candidates->convs) == 2) else if (TREE_VEC_LENGTH (candidates->convs) == 2)
error ("%s %D(%T, %T) <builtin>", str, candidates->fn, error ("%s %D(%T, %T) <built-in>", str, candidates->fn,
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0)), TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0)),
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 1))); TREE_TYPE (TREE_VEC_ELT (candidates->convs, 1)));
else else
error ("%s %D(%T) <builtin>", str, candidates->fn, error ("%s %D(%T) <built-in>", str, candidates->fn,
TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0))); TREE_TYPE (TREE_VEC_ELT (candidates->convs, 0)));
} }
else if (TYPE_P (candidates->fn)) else if (TYPE_P (candidates->fn))
......
...@@ -1680,7 +1680,7 @@ grokbitfield (declarator, declspecs, width) ...@@ -1680,7 +1680,7 @@ grokbitfield (declarator, declspecs, width)
if (TREE_CODE (value) == TYPE_DECL) if (TREE_CODE (value) == TYPE_DECL)
{ {
error ("cannot declare `%D' to be a bitfield type", value); error ("cannot declare `%D' to be a bit-field type", value);
return NULL_TREE; return NULL_TREE;
} }
...@@ -1690,7 +1690,7 @@ grokbitfield (declarator, declspecs, width) ...@@ -1690,7 +1690,7 @@ grokbitfield (declarator, declspecs, width)
check here. */ check here. */
if (TREE_CODE (value) == FUNCTION_DECL) if (TREE_CODE (value) == FUNCTION_DECL)
{ {
error ("cannot declare bitfield `%D' with function type", error ("cannot declare bit-field `%D' with function type",
DECL_NAME (value)); DECL_NAME (value));
return NULL_TREE; return NULL_TREE;
} }
...@@ -1706,7 +1706,7 @@ grokbitfield (declarator, declspecs, width) ...@@ -1706,7 +1706,7 @@ grokbitfield (declarator, declspecs, width)
if (TREE_STATIC (value)) if (TREE_STATIC (value))
{ {
error ("static member `%D' cannot be a bitfield", value); error ("static member `%D' cannot be a bit-field", value);
return NULL_TREE; return NULL_TREE;
} }
cp_finish_decl (value, NULL_TREE, NULL_TREE, 0); cp_finish_decl (value, NULL_TREE, NULL_TREE, 0);
......
...@@ -1730,7 +1730,7 @@ build_offset_ref (type, name) ...@@ -1730,7 +1730,7 @@ build_offset_ref (type, name)
if (TREE_CODE (t) == FIELD_DECL && DECL_C_BIT_FIELD (t)) if (TREE_CODE (t) == FIELD_DECL && DECL_C_BIT_FIELD (t))
{ {
error ("illegal pointer to bit field `%D'", t); error ("illegal pointer to bit-field `%D'", t);
return error_mark_node; return error_mark_node;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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