## @file\r
# EFI_REGULAR_EXPRESSION_PROTOCOL Implementation\r
#\r
-# Copyright (c) 2015, Hewlett Packard Enterprise Development, L.P.<BR>\r
+# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
+# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
#\r
# This program and the accompanying materials are licensed and made available\r
# under the terms and conditions of the BSD License that accompanies this\r
Oniguruma/OnigurumaIntrinsics.c | MSFT\r
\r
# Upstream Oniguruma code\r
+ Oniguruma/onig_init.c\r
Oniguruma/oniguruma.h\r
Oniguruma/regcomp.c\r
Oniguruma/regenc.c\r
Oniguruma/st.h\r
\r
# Supported Character Encodings\r
- Oniguruma/enc/ascii.c\r
- Oniguruma/enc/unicode.c\r
- Oniguruma/enc/utf16_le.c\r
+ Oniguruma/ascii.c\r
+ Oniguruma/unicode.c\r
+ Oniguruma/unicode_fold1_key.c\r
+ Oniguruma/unicode_fold2_key.c\r
+ Oniguruma/unicode_fold3_key.c\r
+ Oniguruma/unicode_unfold_key.c\r
+ Oniguruma/utf16_le.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
MemoryAllocationLib\r
BaseMemoryLib\r
DebugLib\r
+ PrintLib\r
\r
[Guids]\r
gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID\r
gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID\r
\r
[Protocols]\r
- gEfiRegularExpressionProtocolGuid ## PRODUCES \r
+ gEfiRegularExpressionProtocolGuid ## PRODUCES\r
\r
[BuildOptions]\r
+ # Enable STDARG for variable arguments\r
+ *_*_*_CC_FLAGS = -DHAVE_STDARG_H\r
+\r
# Override MSFT build option to remove /Oi and /GL\r
- MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm \r
- MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF \r
- MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /X \r
- MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /X \r
- MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi /X \r
- MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /X \r
- INTEL:*_*_*_CC_FLAGS = /Oi-\r
- GCC:*_*_*_CC_FLAGS = -fno-builtin\r
+ MSFT:*_*_*_CC_FLAGS = /GL-\r
+ INTEL:*_*_*_CC_FLAGS = /Oi-\r
\r
# Oniguruma: potentially uninitialized local variable used\r
- MSFT:*_*_*_CC_FLAGS = /wd4701\r
+ MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703\r
\r
# Oniguruma: intrinsic function not declared\r
MSFT:*_*_*_CC_FLAGS = /wd4164\r
# Oniguruma: old style declaration in st.c\r
MSFT:*_*_*_CC_FLAGS = /wd4131\r
\r
- # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int' \r
+ # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'\r
MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306\r
\r
+ # Oniguruma: nameless union declared in regparse.h\r
+ MSFT:*_*_*_CC_FLAGS = /wd4201\r
+\r
+ # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"\r
+ MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054\r
+\r
+ # Oniguruma: previous local declaration\r
+ MSFT:*_*_*_CC_FLAGS = /wd4456\r
+\r
+ # Oniguruma: signed and unsigned mismatch/cast\r
+ MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389\r
+\r
+ # Oniguruma: tag_end in parse_callout_of_name\r
+ GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized\r