Disable -Wunused-macros under GCC
Since the pragram in hb-ot-shape-complex-indic-table.cc didn't seem to silence GCC, eg: ../../src/hb-ot-shape-complex-indic-table.cc:55: warning: macro "ISC_TL" is not used [-Wunused-macros] 55 | #define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER /* 7 chars; Tone_Letter */ disable it at compiler level.
This commit is contained in:
parent
a4fb5da984
commit
1b1413246b
|
@ -118,6 +118,7 @@
|
|||
#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" // TODO fix
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO fix
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros" // TODO fix
|
||||
#pragma GCC diagnostic ignored "-Wunused-result" // TODO fix
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue