[edk2-devel] [edk2-libc Patch V2 6/9] StdLib/BsdSocketLib: Add /wd4706 to CC_FLAGS

Michael D Kinney michael.d.kinney at intel.com
Wed Aug 18 21:28:56 UTC 2021


REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549

Disable warning 4706 to allow assignments in conditional
statements.

Cc: Rebecca Cran <rebecca at nuviainc.com>
Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
---
 StdLib/BsdSocketLib/BsdSocketLib.inf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/StdLib/BsdSocketLib/BsdSocketLib.inf b/StdLib/BsdSocketLib/BsdSocketLib.inf
index 522d6e0..e74dd39 100644
--- a/StdLib/BsdSocketLib/BsdSocketLib.inf
+++ b/StdLib/BsdSocketLib/BsdSocketLib.inf
@@ -113,3 +113,6 @@
 [Protocols]
   gEfiSocketServiceBindingProtocolGuid
   gEfiSocketProtocolGuid
+
+[BuildOptions]
+   MSFT:*_*_*_CC_FLAGS = /wd4706
-- 
2.32.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79533): https://edk2.groups.io/g/devel/message/79533
Mute This Topic: https://groups.io/mt/84983171/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list