[PATCH v2 01/10] meson: stop disabling -Wsign-compare
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jan 20, 2025, 16:17 UTC
- Message-ID
- <20250120-b4-pks-reftable-sign-compare-v2-1-b4566d02e4a5@pks.im>
- In-Reply-To
- <20250120-b4-pks-reftable-sign-compare-v2-0-b4566d02e4a5@pks.im>
In 4f9264b0cd (config.mak.dev: drop `-Wno-sign-compare`, 2024-12-06) we have started an effort to make our codebase compile with -Wsign-compare. But while we removed the -Wno-sign-compare flag from "config.mak.dev", we didn't adjust the Meson build instructions in the same way.
Fix this.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- meson.build | 1 - 1 file changed, 1 deletion(-)
diff --git a/meson.build b/meson.build index 0064eb64f5..07744c73b1 100644 --- a/meson.build +++ b/meson.build @@ -708,7 +708,6 @@ if get_option('warning_level') in ['2','3', 'everything'] and compiler.get_argum # These are disabled because we have these all over the place. '-Wno-empty-body', '-Wno-missing-field-initializers', - '-Wno-sign-compare', ] if compiler.has_argument(cflag) libgit_c_args += cflag
-- 2.48.0.257.gd3603152ad.dirty