[edk2-devel] [edk2-libc Patch V2 1/9] StdLib: Add /Wv:11 to VS2017/VS2019 CC_FLAGS

Michael D Kinney posted 9 patches 4 years, 5 months ago
[edk2-devel] [edk2-libc Patch V2 1/9] StdLib: Add /Wv:11 to VS2017/VS2019 CC_FLAGS
Posted by Michael D Kinney 4 years, 5 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549

Add /Wv:11 to VS2017/VS2017 CC_FLAGS to match the warning level
used by VS2015.

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

diff --git a/StdLib/StdLib.inc b/StdLib/StdLib.inc
index 32e1ae0..d0a0c8a 100644
--- a/StdLib/StdLib.inc
+++ b/StdLib/StdLib.inc
@@ -137,3 +137,5 @@
     MSFT:*_VS2015x86_*_CC_FLAGS       = /Wv:11
     MSFT:*_VS2015xASL_*_CC_FLAGS      = /Wv:11
     MSFT:*_VS2015x86xASL_*_CC_FLAGS   = /Wv:11
+    MSFT:*_VS2017_*_CC_FLAGS          = /Wv:11
+    MSFT:*_VS2019_*_CC_FLAGS          = /Wv:11
-- 
2.32.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79529): https://edk2.groups.io/g/devel/message/79529
Mute This Topic: https://groups.io/mt/84983167/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-