diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ff7df31..6a39297 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-06-28 Richard Henderson <rth@cygnus.com> + + * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. + 1999-06-28 Jason Merrill <jason@yorick.cygnus.com> * error.c (dump_type_real): Handle TREE_LIST again. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 9f98840..0a838ed 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8133,7 +8133,7 @@ cp_finish_decl (decl, init, asmspec_tree, need_pop, flags) else if (! DECL_ARTIFICIAL (decl)) { cp_warning_at ("sorry: semantics of inline function static data `%#D' are wrong (you'll wind up with multiple copies)", decl); - cp_warning_at (" you can work around this by removing the initializer"), decl; + cp_warning_at (" you can work around this by removing the initializer", decl); } } } |