diff options
author | Jake Garver via groups.io <jake=nvidia.com@groups.io> | 2023-10-03 23:04:54 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-13 05:21:09 +0000 |
commit | c9cce5a00591dc437c258f0365b5d434c628b1e0 (patch) | |
tree | 1c43773f9ea182dd77f2961bc67f730a2a12420f | |
parent | 33deaa3b845f0d588ffd068003558be46f90aaac (diff) | |
download | edk2-c9cce5a00591dc437c258f0365b5d434c628b1e0.tar.gz edk2-c9cce5a00591dc437c258f0365b5d434c628b1e0.tar.bz2 edk2-c9cce5a00591dc437c258f0365b5d434c628b1e0.zip |
MdeModulePkg/RegularExpressinoDxe: Fix clang error
Ignore old style declaration warnings in oniguruma/src/st.c. This was
already ignored for MSFT, but newer versions of clang complain as well.
Signed-off-by: Jake Garver <jake@nvidia.com>
Reviewed-by: Nhi Pham <nhi@os.amperecomputing.com>
Tested-by: Nhi Pham <nhi@os.amperecomputing.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
-rw-r--r-- | MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf index 84489c2942..0092531a67 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf @@ -102,6 +102,7 @@ # Oniguruma: old style declaration in st.c
MSFT:*_*_*_CC_FLAGS = /wd4131
+ GCC:*_*_*_CC_FLAGS = -Wno-deprecated-non-prototype
# Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
|