mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/BrotliCustomDecompressLib: Disable C4559 MSVC warning
Disables redefinition warning due to win 10 sdk to fix build using MSVC toolchain Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
parent
12ba277a2d
commit
656cd26abc
|
@ -71,3 +71,12 @@
|
|||
DebugLib
|
||||
BaseMemoryLib
|
||||
ExtractGuidedSectionLib
|
||||
|
||||
[BuildOptions]
|
||||
#
|
||||
# Disables the following Visual Studio compiler warnings brought by brotli source,
|
||||
# so we do not break the build with /WX option:
|
||||
# C4559: 'function' : redefinition; the function gains __declspec(restrict)
|
||||
#
|
||||
MSFT:*_*_IA32_CC_FLAGS = /wd4559
|
||||
MSFT:*_*_X64_CC_FLAGS = /wd4559
|
||||
|
|
Loading…
Reference in New Issue