PR c++/24235
* pt.c (check_instantiated_args): Reword diagnostic message about
template argument involving local types.
From-SVN: r107451
+2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ PR c++/24235
+ * pt.c (check_instantiated_args): Reword diagnostic message about
+ template argument involving local types.
+
2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/21667
if (TYPE_ANONYMOUS_P (nt))
error ("%qT is/uses anonymous type", t);
else
- error ("%qT uses local type %qT", t, nt);
+ error ("template argument for %qD uses local type %qT",
+ tmpl, t);
}
result = true;
}