diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-24 19:28:20 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-24 19:28:20 +0000 |
commit | 89e7e0057fced928551d3169ccaec1a106be123b (patch) | |
tree | 8e604d480ecc6f087099ac7d2f0f4f6d9b68c228 /gcc/toplev.h | |
parent | b0a309b25cdcff60f332a21043d584943c2e384c (diff) | |
download | gcc-89e7e0057fced928551d3169ccaec1a106be123b.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 7a2dc6b19b2..aca355771fb 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -49,7 +49,7 @@ extern void _fatal_insn (const char *, rtx, const char *, int, const char *) /* None of these functions are suitable for ATTRIBUTE_PRINTF, because each language front end can extend them with its own set of format specifiers. We must use custom format checks. */ -#if GCC_VERSION >= 3004 +#if GCC_VERSION >= 3005 #define ATTRIBUTE_GCC_DIAG(m, n) __attribute__ ((__format__ (GCC_DIAG_STYLE, m, n))) ATTRIBUTE_NONNULL(m) #else #define ATTRIBUTE_GCC_DIAG(m, n) ATTRIBUTE_NONNULL(m) |