summaryrefslogtreecommitdiff
path: root/lang/gcc/patches/patch-bn
blob: 8e7978924a21772ca1881d7a5c879dd826e442a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bn,v 1.1 2002/01/03 20:40:47 tron Exp $

--- ../gcc-2.95.3/gcc/c-decl.c.orig	Thu Jan 25 15:02:59 2001
+++ ../gcc-2.95.3/gcc/c-decl.c	Thu Jan  3 20:37:54 2002
@@ -811,6 +811,10 @@
     warn_traditional = 0;
   else if (!strcmp (p, "-Wformat"))
     warn_format = 1;
+  else if (!strcmp (p, "-Wno-format-y2k"))
+    { /* XXX: NetBSD compatibility until next gcc release */ }
+  else if (!strcmp (p, "-Wno-format-extra-args"))
+    { /* XXX: NetBSD compatibility until next gcc release */ }
   else if (!strcmp (p, "-Wno-format"))
     warn_format = 0;
   else if (!strcmp (p, "-Wchar-subscripts"))