Skip to content

Commit

Permalink
MdeModulePkg/RegularExpressinoDxe: Fix clang error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jake Garver via groups.io authored and mergify[bot] committed Nov 13, 2023
1 parent 33deaa3 commit c9cce5a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9cce5a

Please sign in to comment.