From 17f6e81c7cb9e41e1b83edeff2c4cc8aa0c7e7a9 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 5 Sep 2017 19:52:56 +0000 Subject: * class.c (unreverse_member_declarations): Remove extraneous if. * pt.c (push_template_decl_real): Use string concatenation, not \. Add %<..%>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251724 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/pt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/cp/pt.c') diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index d5ab93985a3..aeb523d5232 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -5572,11 +5572,11 @@ push_template_decl_real (tree decl, bool is_friend) (TI_ARGS (tinfo), TI_ARGS (get_template_info (DECL_TEMPLATE_RESULT (tmpl))))) { - error ("\ -template arguments to %qD do not match original template %qD", - decl, DECL_TEMPLATE_RESULT (tmpl)); + error ("template arguments to %qD do not match original" + "template %qD", decl, DECL_TEMPLATE_RESULT (tmpl)); if (!uses_template_parms (TI_ARGS (tinfo))) - inform (input_location, "use template<> for an explicit specialization"); + inform (input_location, "use %%> for" + " an explicit specialization"); /* Avoid crash in import_export_decl. */ DECL_INTERFACE_KNOWN (decl) = 1; return error_mark_node; -- cgit v1.2.1