aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/bad.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2002-06-11 23:11:34 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2002-06-11 23:11:34 +0000
commit13f0d49cdfb507a8e369b86d1c5038a08635cee7 (patch)
tree78d7bd65c43f7bf23d766026f9d3611afa6983e8 /gcc/f/bad.c
parent0db79a6b35fc77ec500206c7442457dcc401a0e1 (diff)
downloadgcc-13f0d49cdfb507a8e369b86d1c5038a08635cee7.zip
gcc-13f0d49cdfb507a8e369b86d1c5038a08635cee7.tar.gz
gcc-13f0d49cdfb507a8e369b86d1c5038a08635cee7.tar.bz2
objc-act.c (warn_with_ivar): Adjust calls to diagnostic_count_error.
* objc/objc-act.c (warn_with_ivar): Adjust calls to diagnostic_count_error. (warn_with_method): Likewise. * diagnostic.h (warnings_are_errors_message): New field of diagnostic_context. (diagnostic_count_error): Rename to diagnostic_count_diagnostic to match semantics. * diagnostic.c: Adjust calls to diagnostic_count_error through out. (diagnostic_count_diagnostic): Make aware of other kinds of diagnostics. (diagnostic_initialize): Initialize warnings_are_errors_message field. f/ 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com> * bad.c (ffebad_start_): Adjust calls to diagnostic_count_error. From-SVN: r54532
Diffstat (limited to 'gcc/f/bad.c')
-rw-r--r--gcc/f/bad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/bad.c b/gcc/f/bad.c
index e30101f..21fa4871 100644
--- a/gcc/f/bad.c
+++ b/gcc/f/bad.c
@@ -203,7 +203,7 @@ ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev,
if ((ffebad_severity_ != FFEBAD_severityPEDANTIC)
|| !flag_pedantic_errors)
{
- if (!diagnostic_count_error (global_dc, DK_WARNING))
+ if (!diagnostic_count_diagnostic (global_dc, DK_WARNING))
{ /* User wants no warnings. */
ffebad_is_temp_inhibited_ = TRUE;
return FALSE;
@@ -215,7 +215,7 @@ ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev,
case FFEBAD_severityWEIRD:
case FFEBAD_severitySEVERE:
case FFEBAD_severityDISASTER:
- diagnostic_count_error (global_dc, DK_ERROR);
+ diagnostic_count_diagnostic (global_dc, DK_ERROR);
break;
default: