diff options
Diffstat (limited to 'lang/egcs/files/patch-fc')
-rw-r--r-- | lang/egcs/files/patch-fc | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/lang/egcs/files/patch-fc b/lang/egcs/files/patch-fc index 081cdcbabc52..24fefb020007 100644 --- a/lang/egcs/files/patch-fc +++ b/lang/egcs/files/patch-fc @@ -1,31 +1,22 @@ ---- gcc/toplev.c.orig Thu Oct 21 00:01:37 1999 -+++ gcc/toplev.c Sun Nov 26 15:25:45 2000 -@@ -771,6 +771,9 @@ +--- gcc/toplev.c.orig Sat Feb 27 10:33:02 1999 ++++ gcc/toplev.c Tue Mar 30 03:37:57 1999 +@@ -728,6 +728,10 @@ - int flag_no_ident = 0; + extern int flag_dump_unnumbered; +/* Nonzero means that -Wformat accepts certain system-dependent formats. */ ++ +int flag_format_extensions = 0; + + /* Table of supported debugging formats. */ static struct - { -@@ -971,6 +974,8 @@ +@@ -915,6 +919,8 @@ "Generate code to check every memory access" }, {"prefix-function-name", &flag_prefix_function_name, 1, "Add a prefix to all function names" }, + {"format-extensions", &flag_format_extensions, 1, + "-Wformat accepts certain FreeBSD system-dependent formats" }, - {"dump-unnumbered", &flag_dump_unnumbered, 1, - "Suppress output of instruction numbers and line number notes in debugging dumps"}, - {"instrument-functions", &flag_instrument_function_entry_exit, 1, -@@ -1051,7 +1056,9 @@ - { "-Wconversion", "Warn about possibly confusing type conversions" }, - { "-Wno-conversion", "" }, - { "-Wformat", "Warn about printf format anomalies" }, -+ { "-Wnon-const-format", "Warn about printf-like format strings" }, - { "-Wno-format", "" }, -+ { "-Wno-format-extra-args", "" }, - { "-Wimplicit-function-declaration", - "Warn about implicit function declarations" }, - { "-Wno-implicit-function-declaration", "" }, + {"dump-unnumbered", &flag_dump_unnumbered, 1} + }; + |