From c81f02fd06fcbc4426c9e3255833f8d7057cc97a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 22 Jan 2019 12:00:44 +0100 Subject: [PATCH] pragma GCC diagnostic error "-Wvla" --- src/hb.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb.hh b/src/hb.hh index c71375516..6cc4afdd6 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -74,6 +74,7 @@ #pragma GCC diagnostic error "-Wunused-local-typedefs" #pragma GCC diagnostic error "-Wunused-value" #pragma GCC diagnostic error "-Wunused-variable" +#pragma GCC diagnostic error "-Wvla" #pragma GCC diagnostic error "-Wwrite-strings" /* Warning. To be investigated if happens. */ @@ -86,7 +87,6 @@ #pragma GCC diagnostic warning "-Wmissing-format-attribute" #pragma GCC diagnostic warning "-Wsign-compare" #pragma GCC diagnostic warning "-Wundef" -#pragma GCC diagnostic warning "-Wvla" /* Ignored currently, but should be fixed at some point. */ #pragma GCC diagnostic ignored "-Wconversion" // TODO fix