From 83e0da2061a7bdc7d910bad2e005112753a8c3c5 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 30 Aug 2019 12:04:40 +1000 Subject: [PATCH] libcheck: fix macos werror build ../libs/gst/check/libcheck/check.c:617:15: error: result of comparison of constant 4294967295 with expression of type 'clockid_t' is always false [-Werror,-Wtautological-constant-out-of-range-compare] if (clockid == -1) { ~~~~~~~ ^ ~~ --- libs/gst/check/libcheck/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/gst/check/libcheck/meson.build b/libs/gst/check/libcheck/meson.build index 4e6b1e31f2..964165379e 100644 --- a/libs/gst/check/libcheck/meson.build +++ b/libs/gst/check/libcheck/meson.build @@ -73,7 +73,8 @@ foreach arg : [ '-Wno-missing-declarations', '-Wno-old-style-definition', '-Wno-declaration-after-statement', - '-Wno-format-nonliteral'] + '-Wno-format-nonliteral', + '-Wno-tautological-constant-out-of-range-compare'] if cc.has_argument(arg) no_warn_args += [arg] endif -- 2.34.1