diff options
Diffstat (limited to 'gcc/cp/pt.c')
| -rw-r--r-- | gcc/cp/pt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 607bdd1..11f0bcd 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -2984,7 +2984,8 @@ redeclare_class_template (tree type, tree parms) A template-parameter may not be given default arguments by two different declarations in the same scope. */ error ("redefinition of default argument for `%#D'", parm); - cp_error_at (" original definition appeared here", tmpl_parm); + error ("%H original definition appeared here", + &DECL_SOURCE_LOCATION (tmpl_parm)); return; } |
