From 9bd7ba5019381bb8584811ee63a0ba0cee7dca99 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 12 Oct 2021 08:44:01 -0700 Subject: [PATCH] Err on -Wbitwise-instead-of-logical Part of https://github.com/harfbuzz/harfbuzz/pull/3256 --- src/hb.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb.hh b/src/hb.hh index 829b5a1ab..1f1426752 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -62,6 +62,7 @@ /* Error. Should never happen. */ #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR +#pragma GCC diagnostic error "-Wbitwise-instead-of-logical" #pragma GCC diagnostic error "-Wcast-align" #pragma GCC diagnostic error "-Wcast-function-type" #pragma GCC diagnostic error "-Wdelete-non-virtual-dtor"