diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-05-18 18:53:44 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-05-18 18:53:44 +0000 |
| commit | cfbb24ed86fb868540076ce58411dca3968e532e (patch) | |
| tree | 5e5e82925c940bf5ae9884fa7f23bcd86dff9d1a /gnu | |
| parent | 314ef13c23c1f81087b78b6318f4fa705888c2e9 (diff) | |
Add a -Wno-format-zero-length switch that does nothing, for forward
compatibility with GCC 3.2.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/toolchain/gcc/c-decl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/dist/toolchain/gcc/c-decl.c b/gnu/dist/toolchain/gcc/c-decl.c index 77afea47eec..d9a089095ae 100644 --- a/gnu/dist/toolchain/gcc/c-decl.c +++ b/gnu/dist/toolchain/gcc/c-decl.c @@ -815,6 +815,8 @@ c_decode_option (argc, argv) { /* 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-zero-length")) + { /* XXX: NetBSD compatibility until GCC 3.2 */ } else if (!strcmp (p, "-Wno-format")) warn_format = 0; else if (!strcmp (p, "-Wchar-subscripts")) |
