init.c (sort_member_init): Fix typo in error message generation code.
* init.c (sort_member_init): Fix typo in error message generation code. From-SVN: r34134
This commit is contained in:
parent
8b9395c375
commit
3c7673a597
@ -1,3 +1,8 @@
|
||||
2000-05-24 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* init.c (sort_member_init): Fix typo in error message generation
|
||||
code.
|
||||
|
||||
2000-05-24 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
Update new-abi upcast algorithm.
|
||||
|
@ -365,7 +365,8 @@ sort_member_init (t)
|
||||
/* Give a warning, if appropriate. */
|
||||
if (warn_reorder && !f)
|
||||
{
|
||||
cp_warning_at ("member initializers for `%#D'", last_field);
|
||||
cp_warning_at ("member initializers for `%#D'",
|
||||
TREE_PURPOSE (last_field));
|
||||
cp_warning_at (" and `%#D'", initialized_field);
|
||||
warning (" will be re-ordered to match declaration order");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user