summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/RegularExpressionDxe
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2019-10-17 14:55:51 +0800
committerLiming Gao <liming.gao@intel.com>2019-10-24 09:41:33 +0800
commit55863be1fc341bd37d4077ecdbb7ff12f673dc89 (patch)
tree4188346b22a43445144382f8a6bfa3fccd6582a0 /MdeModulePkg/Universal/RegularExpressionDxe
parent7d9ba361cc79dcba667bc3e2dc45ac0ef1756cbb (diff)
downloadedk2-55863be1fc341bd37d4077ecdbb7ff12f673dc89.tar.gz
edk2-55863be1fc341bd37d4077ecdbb7ff12f673dc89.tar.bz2
edk2-55863be1fc341bd37d4077ecdbb7ff12f673dc89.zip
MdeModulePkg RegularExpressionDxe: Disable warning for CLANG9 tool chain
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1603 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/RegularExpressionDxe')
-rw-r--r--MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf3
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
index 883d5f1127..e9c885465d 100644
--- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
+++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
@@ -107,6 +107,9 @@
# Oniguruma: tag_end in parse_callout_of_name
GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
+ # Oniguruma: implicit conversion from 'UINTN' (aka 'unsigned long long') to 'long'
+ GCC:*_CLANG9_*_CC_FLAGS = -Wno-error=constant-conversion
+
# Not add -Wno-error=maybe-uninitialized option for XCODE
# XCODE doesn't know this option
XCODE:*_*_*_CC_FLAGS =