Make previous commit gcc-only

This commit is contained in:
Behdad Esfahbod 2021-03-29 16:02:10 -07:00
parent b5e4032392
commit 05e845c49a
1 changed files with 2 additions and 0 deletions

View File

@ -117,8 +117,10 @@
#pragma GCC diagnostic ignored "-Wshadow" // TODO fix
#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-result" // TODO fix
#endif
#endif
/* Ignored intentionally. */
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_IGNORED