smlinux/gtk/harfbuzz/harfbuzz-old-gcc-header.patch

10 lines
414 B
Diff

--- a/src/hb.hh 2021-06-12 14:41:53.319988433 +0530
+++ b/src/hb.hh 2021-06-12 14:42:15.518990104 +0530
@@ -107,6 +107,7 @@
#pragma GCC diagnostic warning "-Wmaybe-uninitialized"
#pragma GCC diagnostic warning "-Wmissing-format-attribute"
#pragma GCC diagnostic warning "-Wundef"
+#pragma GCC diagnostic warning "-Wunused-but-set-variable"
#endif
/* Ignored currently, but should be fixed at some point. */