diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dc67367..0f4f6a0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-07-03 Graham Stott <graham.stott@btinternet.com> + + * pt.c (instantiate_class_template): Fix typo. + 2002-07-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * typeck2.c (cxx_incomplete_type_diagnostic): Fix typo caused diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 68793c7..2e589e7a 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -5251,7 +5251,7 @@ instantiate_class_template (type) tree rtype = TREE_TYPE (r); if (!can_complete_type_without_circularity (rtype)) { - incomplete_type_error (r, rtype); + cxx_incomplete_type_error (r, rtype); r = error_mark_node; } } |
