Shut up gcc 13 -Wdangling-reference

Fixes https://github.com/harfbuzz/harfbuzz/issues/4043
This commit is contained in:
Behdad Esfahbod 2023-01-18 17:29:26 -07:00
parent 1abcc32137
commit 13c70066de
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@
#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 "-Wdangling-reference" // https://github.com/harfbuzz/harfbuzz/issues/4043
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
#pragma GCC diagnostic ignored "-Wformat-zero-length"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"