From ce3e4266e4f0712b27563d079b7e7b6fd8013014 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 31 Dec 2020 17:21:49 +0100 Subject: Disable glib warnings in the code Though annoying, this avoids relying on special compiler flags to suppress them. --- benchmark/tree_bench.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'benchmark/tree_bench.c') diff --git a/benchmark/tree_bench.c b/benchmark/tree_bench.c index 4d1f30f..2ba7204 100644 --- a/benchmark/tree_bench.c +++ b/benchmark/tree_bench.c @@ -15,12 +15,15 @@ */ #include "bench.h" +#include "warnings.h" #include "zix/btree.h" #include "zix/common.h" #include "zix/tree.h" +ZIX_DISABLE_GLIB_WARNINGS #include +ZIX_RESTORE_WARNINGS #include #include -- cgit v1.2.1