summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.def
Commit message (Collapse)AuthorAgeFilesLines
* * c-pragma.c (handle_pragma_diagnostic): New.dj2006-01-181-0/+14
| | | | | | | | | | | | | | | | | | | | | (init_pragma): Register it. * doc/extend.texi: Document it. * diagnostic.def: Add DK_UNSPECIFIED and DK_IGNORED. * diagnostic.h (diagnostic_classify_diagnostic): Declare. (diagnostic_context): Add classify_diagnostic[]. * diagnostic.c (diagnostic_count_diagnostic): Don't count warnings as errors if they're overridden to DK_WARNING. (diagnostic_initialize): Initialize classify_diagnostic[]. (diagnostic_set_kind_override): New. (diagnostic_report_diagnostic): Check for kind changes. * opts.c (common_handle_option): Take lang_mask. Update callers. Handle OPT_Werror_. * common.opt (Werror=): New. * doc/invoke.texi: Document -Werror=* git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109907 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/11531gdr2003-07-151-1/+1
| | | | | | | | | | | | | * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're not recursing on hard error. (diagnostic_for_decl): Likewise. * diagnostic.def: Rearrange. cp/ * typeck.c (check_return_expr): Fix thinko in diagnostic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69425 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.h (output_formatted_scalar): Rename fromgdr2002-08-121-0/+2
| | | | | | | | | | | | | | | | | | | output_formatted_integer. * diagnostic.def: Add DK_DEBUG. * diagnostic.c (output_decimal): Adjust. (output_long_decimal): Likewise. (output_unsigned_decimal): Likewise. (output_octal): Likewise. (output_long_octal): Likewise. (output_hexadecimal): Likewise. (output_long_hexadecimal): Likewise. * c-pretty-print.c (pp_c_type_specifier): New function. (pp_c_specifier_qualifier_list): Likewise. (pp_c_abstract_declarator): Likewise. (pp_c_char): Replace pp_format_integer with pp_format_scalar. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56236 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.def: Don't capitalize diagnostic descriptors.gdr2002-06-081-7/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54370 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.def: New file.gdr2001-05-011-0/+7
* diagnostic.h (diagnostic_t): New enum. * Makefile.in (diagnostic.o): Depend on diagnostic.def git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41717 138bc75d-0d04-0410-961f-82ee72b054a4