From 436c7b294ab12ae338aaa879fe4280caae6c6155 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 17 Jan 2019 19:03:33 -0500 Subject: [PATCH] [pragma] ignored -Wunsafe-loop-optimizations // TODO fix --- src/hb.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb.hh b/src/hb.hh index 57fd8a990..649fb64e4 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -65,7 +65,6 @@ #pragma GCC diagnostic warning "-Wmissing-format-attribute" #pragma GCC diagnostic warning "-Wsign-compare" #pragma GCC diagnostic warning "-Wundef" -#pragma GCC diagnostic warning "-Wunsafe-loop-optimizations" #pragma GCC diagnostic warning "-Wvla" /* Ignored */ #pragma GCC diagnostic ignored "-Wconversion" // TODO fix @@ -77,7 +76,8 @@ #pragma GCC diagnostic ignored "-Wshadow" // TODO fix #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wtype-limits" -#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix +#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" // TODO fix +#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO fix #endif #ifdef HAVE_CONFIG_H