From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.1162.1614823934289948094 for ; Wed, 03 Mar 2021 18:12:15 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 04 Mar 2021 10:12:10 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Daniel Schaefer'" , Cc: "'Bob Feng'" , "'Yuwei Chen'" , "'Derek Lin'" References: <20210302082150.15478-1-daniel.schaefer@hpe.com> <20210302082150.15478-3-daniel.schaefer@hpe.com> In-Reply-To: <20210302082150.15478-3-daniel.schaefer@hpe.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjEgMi8yXSBCYXNlVG9vbHM6IE1ha2UgdW5kZWZpbmVkIFZGUiBtYWNybyBhbiBlcnJvciAoTVNWQyk=?= Date: Thu, 4 Mar 2021 10:12:12 +0800 Message-ID: <007d01d7109b$ca1e2ef0$5e5a8cd0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHCh0dGpRhcthZ/cBNXBSZ9us41MAGLVynRqo/OBxA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Do you check whether EBC compiler supports this warning?=20 And, do you evaluate CLANG compiler support for this warning? Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Daniel Schaefer > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA3=D4=C22=C8=D5 16:22 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Bob Feng ; Liming Gao > ; Yuwei Chen ; Derek > Lin > =D6=F7=CC=E2: [PATCH v1 2/2] BaseTools: Make undefined VFR macro an = error (MSVC) >=20 > VFR successfully compiles if we forget to include a header that = defines > a macro. In that case the HII option was hidden when it shouldn't be > just because the macro was used but not defined. >=20 > The behaviour is totally intended by the C/PP standard. When a macro = is > undefined it evaluates to 0. > GCC, MSVC and Clang have warnings to catch this type of mistake. With > this commit we enable this warning and make it a compiler error. >=20 > Cc: Bob Feng > Cc: Liming Gao > Cc: Yuwei Chen > Cc: Derek Lin > --- > BaseTools/Conf/tools_def.template | 46 ++++++++++---------- > 1 file changed, 23 insertions(+), 23 deletions(-) >=20 > diff --git a/BaseTools/Conf/tools_def.template > b/BaseTools/Conf/tools_def.template > index 728c1d3119e4..56c7bd13f157 100755 > --- a/BaseTools/Conf/tools_def.template > +++ b/BaseTools/Conf/tools_def.template > @@ -422,7 +422,7 @@ DEFINE DTC_BIN =3D > ENV(DTC_PREFIX)dtc > *_VS2008_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2008_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2008_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2008_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2008_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2008_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2008_*_ASM16_PATH =3D DEF(VS2008_BIN)\ml.exe >=20 >=20 >=20 > @@ -518,7 +518,7 @@ NOOPT_VS2008_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2008_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2008_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2008_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2008_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2008_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2008_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2008_EBC_DLINK_FLAGS =3D "C:\Program > Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -538,7 +538,7 @@ NOOPT_VS2008_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2008x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2008x86_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2008x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2008x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2008x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2008x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2008x86_*_ASM16_PATH =3D DEF(VS2008x86_BIN)\ml.exe >=20 >=20 >=20 > @@ -633,7 +633,7 @@ NOOPT_VS2008x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2008x86_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2008x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2008x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2008x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2008x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2008x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO > /MACHINE:EBC >=20 > *_VS2008x86_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -656,7 +656,7 @@ NOOPT_VS2008x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2010_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2010_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2010_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2010_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2010_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2010_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2010_*_ASM16_PATH =3D DEF(VS2010_BIN)\ml.exe >=20 >=20 >=20 > @@ -752,7 +752,7 @@ NOOPT_VS2010_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2010_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2010_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2010_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2010_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2010_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2010_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2010_EBC_DLINK_FLAGS =3D "C:\Program > Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -772,7 +772,7 @@ NOOPT_VS2010_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2010x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2010x86_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2010x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2010x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2010x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2010x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2010x86_*_ASM16_PATH =3D DEF(VS2010x86_BIN)\ml.exe >=20 >=20 >=20 > @@ -868,7 +868,7 @@ NOOPT_VS2010x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2010x86_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2010x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2010x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2010x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2010x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2010x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO > /MACHINE:EBC >=20 > *_VS2010x86_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -890,7 +890,7 @@ NOOPT_VS2010x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2012_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2012_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2012_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2012_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2012_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2012_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2012_*_ASM16_PATH =3D DEF(VS2012_BIN)\ml.exe >=20 >=20 >=20 > @@ -986,7 +986,7 @@ NOOPT_VS2012_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2012_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2012_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2012_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2012_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2012_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2012_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2012_EBC_DLINK_FLAGS =3D "C:\Program > Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1006,7 +1006,7 @@ NOOPT_VS2012_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2012x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2012x86_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2012x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2012x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2012x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2012x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2012x86_*_ASM16_PATH =3D DEF(VS2012x86_BIN)\ml.exe >=20 >=20 >=20 > @@ -1102,7 +1102,7 @@ NOOPT_VS2012x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2012x86_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2012x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2012x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2012x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2012x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2012x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO > /MACHINE:EBC >=20 > *_VS2012x86_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1124,7 +1124,7 @@ NOOPT_VS2012x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2013_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2013_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2013_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2013_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2013_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2013_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2013_*_ASM16_PATH =3D DEF(VS2013_BIN)\ml.exe >=20 >=20 >=20 > @@ -1220,7 +1220,7 @@ NOOPT_VS2013_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2013_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2013_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2013_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2013_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2013_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2013_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2013_EBC_DLINK_FLAGS =3D "C:\Program > Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1240,7 +1240,7 @@ NOOPT_VS2013_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2013x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2013x86_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2013x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2013x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2013x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2013x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2013x86_*_ASM16_PATH =3D DEF(VS2013x86_BIN)\ml.exe >=20 >=20 >=20 > @@ -1336,7 +1336,7 @@ NOOPT_VS2013x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2013x86_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2013x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2013x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2013x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2013x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC > /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2013x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO > /MACHINE:EBC >=20 > *_VS2013x86_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1358,7 +1358,7 @@ NOOPT_VS2013x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2015_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2015_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2015_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2015_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2015_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2015_*_DLINK2_FLAGS =3D >=20 > *_VS2015_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2015_*_ASM16_PATH =3D DEF(VS2015_BIN)\ml.exe >=20 > @@ -1455,7 +1455,7 @@ NOOPT_VS2015_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2015_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2015_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2015_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2015_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2015_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2015_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2015_EBC_DLINK_FLAGS =3D "C:\Program > Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1475,7 +1475,7 @@ NOOPT_VS2015_X64_DLINK_FLAGS =3D /NOLOGO > /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT > *_VS2015x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2015x86_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2015x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2015x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2015x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2015x86_*_DLINK2_FLAGS =3D >=20 > *_VS2015x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > *_VS2015x86_*_ASM16_PATH =3D DEF(VS2015x86_BIN)\ml.exe >=20 > @@ -1593,7 +1593,7 @@ NOOPT_VS2015x86_X64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2017_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2017_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2017_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2017_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2017_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2017_*_DLINK2_FLAGS =3D /WHOLEARCHIVE >=20 > *_VS2017_*_ASM16_PATH =3D DEF(VS2017_BIN_IA32)\ml.exe >=20 > *_VS2017_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > @@ -1736,7 +1736,7 @@ NOOPT_VS2017_AARCH64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2017_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2017_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2017_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2017_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2017_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2017_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2017_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > @@ -1756,7 +1756,7 @@ NOOPT_VS2017_AARCH64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2019_*_SLINK_FLAGS =3D /NOLOGO /LTCG >=20 > *_VS2019_*_APP_FLAGS =3D /nologo /E /TC >=20 > *_VS2019_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > -*_VS2019_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2019_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2019_*_DLINK2_FLAGS =3D /WHOLEARCHIVE >=20 > *_VS2019_*_ASM16_PATH =3D DEF(VS2019_BIN_IA32)\ml.exe >=20 > *_VS2019_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) >=20 > @@ -1899,7 +1899,7 @@ NOOPT_VS2019_AARCH64_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF > *_VS2019_EBC_MAKE_FLAGS =3D /nologo >=20 > *_VS2019_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h >=20 > *_VS2019_EBC_CC_FLAGS =3D /nologo /c /WX /W3 > /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) >=20 > -*_VS2019_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h >=20 > +*_VS2019_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE > /FI$(MODULE_NAME)StrDefs.h /we4668 >=20 > *_VS2019_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC >=20 > *_VS2019_EBC_DLINK_FLAGS =3D "C:\Program Files > (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC > /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) > /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER >=20 >=20 >=20 > -- > 2.30.0