aboutsummaryrefslogtreecommitdiffstats
path: root/lang/egcs/files/patch-fc
blob: 24fefb020007ee40747ca0b3d9cd0343a4c4708f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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 @@
 
 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
@@ -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}
 };