diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 79beafca539..d7dca47c739 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-06-06 Gabriel Dos Reis + + * error.c (cp_error_at): Fix typo. + 2002-06-04 Gabriel Dos Reis * error.c (cp_diagnostic_starter): Adjust call. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 1b24fb0e5e3..15a7c94809b 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -2690,7 +2690,7 @@ cp_error_at VPARAMS ((const char *msgid, ...)) VA_FIXEDARG (ap, const char *, msgid); diagnostic_set_info (&diagnostic, msgid, &ap, - cp_file_of (here), cp_line_of (here), DK_WARNING); + cp_file_of (here), cp_line_of (here), DK_ERROR); report_diagnostic (&diagnostic); VA_CLOSE (ap); }