Accept -Wno-format-y2k as a no-op, pending the next gcc version (which

handles strftime y2k warnings more cleanly).
This commit is contained in:
tv 2001-01-31 19:52:09 +00:00
parent 7b53faae31
commit daa1fb34df

View File

@ -810,6 +810,8 @@ c_decode_option (argc, argv)
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"))
warn_format = 0;
else if (!strcmp (p, "-Wchar-subscripts"))