Warn on -Wdeprecated

This commit is contained in:
Behdad Esfahbod 2019-05-07 00:33:32 -07:00
parent c3e0eafc80
commit 45f5e56236
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@
/* Warning. To be investigated if happens. */
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
#pragma GCC diagnostic warning "-Wbuiltin-macro-redefined"
#pragma GCC diagnostic warning "-Wdeprecated"
#pragma GCC diagnostic warning "-Wdisabled-optimization"
#pragma GCC diagnostic warning "-Wformat=2"
#pragma GCC diagnostic warning "-Wignored-pragma-optimize"