diff options
author | Qin Long <qin.long@intel.com> | 2017-03-31 19:31:23 +0800 |
---|---|---|
committer | Qin Long <qin.long@intel.com> | 2017-04-07 00:24:16 +0800 |
commit | 81bec7aa5216dac2013c95d58559ebd414b84bce (patch) | |
tree | 01781ee5f8e1c8a8e8c16968fe2dc840b0dbd871 /BaseTools/Source/Python/GenFds/CompressSection.py | |
parent | abc4c8173dab56633e883847721da577e8c80388 (diff) | |
download | edk2-81bec7aa5216dac2013c95d58559ebd414b84bce.tar.gz edk2-81bec7aa5216dac2013c95d58559ebd414b84bce.tar.bz2 edk2-81bec7aa5216dac2013c95d58559ebd414b84bce.zip |
CryptoPkg/OpensslLib: Suppress extra build warnings in openssl source
(Need further follow-ups as described in
https://bugzilla.tianocore.org/show_bug.cgi?id=455)
This patch added some extra build options to suppress possible warnings
when building openssl source under GCC48 and VS2010. Including:
Adding "-Wno-error=maybe-uninitialized" to suppress the following GCC48
build warning:
OpensslLib/openssl/ssl/statem/statem_clnt.c:2543:9: error: "len" may
be used uninitialized in this function [-Werror=maybe-uninitialized]
len += pskhdrlen;
^
And adding "/wd4306" to suppress the following VS2010 build warning:
openssl\crypto\asn1\tasn_dec.c(795) : warning C4306: 'type cast' :
conversion from 'int' to 'ASN1_VALUE *' of greater size
Cc: Ting Ye <ting.ye@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/CompressSection.py')
0 files changed, 0 insertions, 0 deletions