Warn on -Wdeprecated
This commit is contained in:
parent
c3e0eafc80
commit
45f5e56236
|
@ -94,6 +94,7 @@
|
||||||
/* Warning. To be investigated if happens. */
|
/* Warning. To be investigated if happens. */
|
||||||
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
|
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
|
||||||
#pragma GCC diagnostic warning "-Wbuiltin-macro-redefined"
|
#pragma GCC diagnostic warning "-Wbuiltin-macro-redefined"
|
||||||
|
#pragma GCC diagnostic warning "-Wdeprecated"
|
||||||
#pragma GCC diagnostic warning "-Wdisabled-optimization"
|
#pragma GCC diagnostic warning "-Wdisabled-optimization"
|
||||||
#pragma GCC diagnostic warning "-Wformat=2"
|
#pragma GCC diagnostic warning "-Wformat=2"
|
||||||
#pragma GCC diagnostic warning "-Wignored-pragma-optimize"
|
#pragma GCC diagnostic warning "-Wignored-pragma-optimize"
|
||||||
|
|
Loading…
Reference in New Issue