[pragma] Enable error -Wdelete-non-virtual-dtor

Currently fails directwrite backend.
This commit is contained in:
Behdad Esfahbod 2019-01-18 12:23:02 -05:00
parent e65272281c
commit 9b4e51b2e4
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@
/* Error. Should never happen. */ /* Error. Should never happen. */
#pragma GCC diagnostic error "-Wc++11-narrowing" #pragma GCC diagnostic error "-Wc++11-narrowing"
#pragma GCC diagnostic error "-Wcast-align" #pragma GCC diagnostic error "-Wcast-align"
#pragma GCC diagnostic error "-Wdelete-non-virtual-dtor"
#pragma GCC diagnostic error "-Wformat-security" #pragma GCC diagnostic error "-Wformat-security"
#pragma GCC diagnostic error "-Wimplicit-function-declaration" #pragma GCC diagnostic error "-Wimplicit-function-declaration"
#pragma GCC diagnostic error "-Winit-self" #pragma GCC diagnostic error "-Winit-self"