diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf index 84489c2942..8a2aa3b35f 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf @@ -124,6 +124,10 @@ # Oniguruma: implicit conversion from 'UINTN' (aka 'unsigned long long') to 'long' GCC:*_CLANGPDB_*_CC_FLAGS = -Wno-error=constant-conversion + # Onigurama: corrects build for llvm-15 + CLANGPDB:*_*_*_CC_FLAGS = -Wno-deprecated-non-prototype + CLANGGCC:*_*_*_CC_FLAGS = -Wno-deprecated-non-prototype + # Not add -Wno-error=maybe-uninitialized option for XCODE # XCODE doesn't know this option - XCODE:*_*_*_CC_FLAGS = + XCODE:*_*_*_CC_FLAGS = -Wno-deprecated-non-prototype