This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to implement %` %' %q diagnostic formats


On Mon, May 24, 2004 at 04:58:22PM +0000, Joseph S. Myers wrote:
> 	* intl.h (open_quote, close_quote): New.
> 	* intl.c (open_quote, close_quote): New.
> 	(gcc_init_libintl): Set them.
> 	* pretty-print.c: Include "intl.h".
> 	(pp_base_format_text): Support 'q' format flag and %` and %'
> 	formats.  Use ' instead of ` in comments.
> 	* c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs,
> 	gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table,
> 	foramt_types_orig): Describe these new formats.
> 	(decode_format_attr, check_function_format,
> 	check_format_info_main): Use these new formats.
> 	(status_warning): Use ATTRIBUTE_GCC_DIAG.
> 	* toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to
> 	check these formats to 3.5.

Looks good.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]