Darwin 18 / clang 11 are quite noisy with nullability and expansion
to defined warnings in the system headers.
AM_CFLAGS_PSO_BASE = -dynamic \
-O -g -fno-omit-frame-pointer -fno-strict-aliasing \
-fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@
+AM_CFLAGS_BASE += @FLAG_W_NO_EXPANSION_TO_DEFINED@ @FLAG_W_NO_NULLABILITY_COMPLETENESS@
else
if VGCONF_OS_IS_FREEBSD
AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
# OK for 32 and 64 bit
AC_GCC_WARNING_SUBST_NO([alloc-size], [FLAG_W_NO_ALLOC_SIZE])
AC_GCC_WARNING_SUBST_NO([deprecated-declarations], [FLAG_W_NO_DEPRECATED_DECLARATIONS])
+AC_GCC_WARNING_SUBST_NO([nullability-completeness], [FLAG_W_NO_NULLABILITY_COMPLETENESS])
AC_GCC_WARNING_SUBST([write-strings], [FLAG_W_WRITE_STRINGS])
AC_GCC_WARNING_SUBST([empty-body], [FLAG_W_EMPTY_BODY])