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:
parent
7b53faae31
commit
daa1fb34df
2
gnu/dist/toolchain/gcc/c-decl.c
vendored
2
gnu/dist/toolchain/gcc/c-decl.c
vendored
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user