summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-05-24 20:28:20 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-05-24 20:28:20 +0100
commita668adb2f3bbe7e4b6f6aee2ca721b8e466d2ee7 (patch)
tree8e604d480ecc6f087099ac7d2f0f4f6d9b68c228 /gcc/toplev.h
parent1bfc8f675bee787718c1f5d24a300d7b86107fea (diff)
downloadgcc-a668adb2f3bbe7e4b6f6aee2ca721b8e466d2ee7.tar.gz
intl.h (open_quote, [...]): New.
* 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. From-SVN: r82215
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
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)