Can you explain the -Wno-error=format? I haven't search the switch from google.
Appreciate it. > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner > Chang > Sent: Thursday, July 16, 2020 10:55 PM > To: devel@edk2.groups.io > Cc: abner.ch...@hpe.com; Wang, Jian J <jian.j.w...@intel.com>; Lu, > XiaoyuX <xiaoyux...@intel.com>; Laszlo Ersek <ler...@redhat.com> > Subject: [edk2-devel] [PATCH 1/1] CryptoPkg/Library: Remove the > redundant build option > > Remove the redundant build option for RISCV64 architecture. > BZ:2848 > > Signed-off-by: Abner Chang <abner.ch...@hpe.com> > > Cc: Jian J Wang <jian.j.w...@intel.com> > Cc: Xiaoyu Lu <xiaoyux...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > --- > CryptoPkg/Library/OpensslLib/OpensslLib.inf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > index c8ec9454bd..56acf39cac 100644 > --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > @@ -634,7 +634,7 @@ > GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) - > Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -Wno- > error=unused-but-set-variable -DNO_MSABI_VA_FUNCS > GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe- > uninitialized -Wno-error=unused-but-set-variable > GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe- > uninitialized -Wno-format -Wno-error=unused-but-set-variable- > GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=format - > Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set- > variable+ GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno- > error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set- > variable GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno- > error=incompatible-pointer-types -Wno-error=pointer-sign -Wno- > error=implicit-function-declaration -Wno-error=ignored-pragma-optimize-- > 2.25.0 > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > > View/Reply Online (#62701): https://edk2.groups.io/g/devel/message/62701 > Mute This Topic: https://groups.io/mt/75544235/4399222 > Group Owner: devel+ow...@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [guomin.ji...@intel.com] -=-=-=-=-=-= -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62713): https://edk2.groups.io/g/devel/message/62713 Mute This Topic: https://groups.io/mt/75544235/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-