Disable -Wcast-function-type-strict

https://github.com/harfbuzz/harfbuzz/pull/3859#issuecomment-1295409126
This commit is contained in:
Behdad Esfahbod 2022-10-28 14:19:39 -06:00
parent d88269c827
commit 60c6b7786d
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@
/* Ignored intentionally. */
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_IGNORED
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#pragma GCC diagnostic ignored "-Wcast-function-type-strict" // https://github.com/harfbuzz/harfbuzz/pull/3859#issuecomment-1295409126
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
#pragma GCC diagnostic ignored "-Wformat-zero-length"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"