commit | a9946b7cfef185d53304e804169d6e53e9d522a0 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu Jan 17 15:22:28 2019 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Jan 17 15:22:28 2019 -0500 |
tree | 2b79c164f2c805d1a9b150a14f0463b235c0dcb4 | |
parent | 868b0c0c2e2f1a2dea9b0d3c8eb6e56ded8b1a14 [diff] [blame] |
Add more GCC warning pragmas
diff --git a/src/hb.hh b/src/hb.hh index 7d0fd4d..e707ea9 100644 --- a/src/hb.hh +++ b/src/hb.hh
@@ -30,7 +30,13 @@ #define HB_HH #ifndef HB_NO_GCC_PRAGMAS +// Enable +#pragma GCC diagnostic warning "-Wall" +#pragma GCC diagnostic warning "-Wextra" #pragma GCC diagnostic warning "-Wcast-align" +// Disable +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix #endif #ifdef HAVE_CONFIG_H