Disable some compiling warnings caused by submodule code.
Those can be removed later once issues fixed by submodule owner.

Cc: Benny Lin <[email protected]>
Cc: Gua Guo <[email protected]>
Cc: Chasel Chiu <[email protected]>
Cc: James Lu <[email protected]>
Cc: Dhaval Sharma <[email protected]>
Signed-off-by: Linus Liu <[email protected]>
---
 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/MdePkg/Library/BaseFdtLib/BaseFdtLib.inf 
b/MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
index 730e568ff605..b5815380c5ee 100644
--- a/MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
+++ b/MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
@@ -57,6 +57,9 @@
   BaseMemoryLib
 
 [BuildOptions]
-  MSFT:*_*_IA32_CC_FLAGS = /wd4146 /wd4245
-  MSFT:*_*_X64_CC_FLAGS  = /wd4146 /wd4244 /wd4245 /wd4267
+# warning C4706: assignment within conditional expression
+# if ((err = fdt_splice_(fdt, p, oldlen, newlen)))
+# in BaseFdtLib\libfdt\libfdt\fdt_rw.c (wait for sub module update to remove 
this)
+  MSFT:*_*_IA32_CC_FLAGS = /wd4146 /wd4245 /wd4706
+  MSFT:*_*_X64_CC_FLAGS  = /wd4146 /wd4244 /wd4245 /wd4267 /wd4706
 
-- 
2.39.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119186): https://edk2.groups.io/g/devel/message/119186
Mute This Topic: https://groups.io/mt/106275533/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to