From 3f2daae63073bd536bceb1ae71dffd3187afce11 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 17 Jan 2019 15:27:31 -0500 Subject: [PATCH] More GCC pragmas --- src/hb.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb.hh b/src/hb.hh index 8e4824e45..b1520dfe5 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -33,10 +33,12 @@ // Enable #pragma GCC diagnostic warning "-Wall" #pragma GCC diagnostic warning "-Wextra" +#pragma GCC diagnostic warning "-Wunused" #pragma GCC diagnostic warning "-Wcast-align" // Disable #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix +#pragma GCC diagnostic ignored "-Wshadow" // TODO fix #endif #ifdef HAVE_CONFIG_H