diff options
author | David Robillard <d@drobilla.net> | 2020-12-31 17:21:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-31 18:13:53 +0100 |
commit | ce3e4266e4f0712b27563d079b7e7b6fd8013014 (patch) | |
tree | 85cae1c8f7fc3f727b8fb14795f358a18fdbc022 /benchmark/tree_bench.c | |
parent | dd6e02903318710ef5c517759b64e6b4e7e2972d (diff) | |
download | zix-ce3e4266e4f0712b27563d079b7e7b6fd8013014.tar.gz zix-ce3e4266e4f0712b27563d079b7e7b6fd8013014.tar.bz2 zix-ce3e4266e4f0712b27563d079b7e7b6fd8013014.zip |
Disable glib warnings in the code
Though annoying, this avoids relying on special compiler flags to suppress
them.
Diffstat (limited to 'benchmark/tree_bench.c')
-rw-r--r-- | benchmark/tree_bench.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <glib.h> +ZIX_RESTORE_WARNINGS #include <inttypes.h> #include <stdarg.h> |