objc-act.c (warn_with_ivar): Adjust calls to diagnostic_count_error.
authorGabriel Dos Reis <gdr@codesourcery.com>
Tue, 11 Jun 2002 23:11:34 +0000 (23:11 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 11 Jun 2002 23:11:34 +0000 (23:11 +0000)
commit13f0d49cdfb507a8e369b86d1c5038a08635cee7
tree78d7bd65c43f7bf23d766026f9d3611afa6983e8
parent0db79a6b35fc77ec500206c7442457dcc401a0e1
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
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h
gcc/f/ChangeLog
gcc/f/bad.c
gcc/objc/objc-act.c