From 9b4e51b2e44d7dea026b1f9201d2f83277bab1cf Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 18 Jan 2019 12:23:02 -0500 Subject: [PATCH] [pragma] Enable error -Wdelete-non-virtual-dtor Currently fails directwrite backend. --- src/hb.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb.hh b/src/hb.hh index 0b1be1782..c59986e8d 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -52,6 +52,7 @@ /* Error. Should never happen. */ #pragma GCC diagnostic error "-Wc++11-narrowing" #pragma GCC diagnostic error "-Wcast-align" +#pragma GCC diagnostic error "-Wdelete-non-virtual-dtor" #pragma GCC diagnostic error "-Wformat-security" #pragma GCC diagnostic error "-Wimplicit-function-declaration" #pragma GCC diagnostic error "-Winit-self"