mirror_edk2/BaseTools/Source/C
Gerd Hoffmann 85021f8cf2 BaseTools: fix gcc12 warning
Sdk/C/LzmaEnc.c: In function ?LzmaEnc_CodeOneMemBlock?:
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*p.rc.outStream? [-Werror=dangling-pointer=]
 2828 |   p->rc.outStream = &outStream.vt;
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
 2811 |   CLzmaEnc_SeqOutStreamBuf outStream;
      |                            ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*(CLzmaEnc *)pp.rc.outStream? [-Werror=dangling-pointer=]
 2828 |   p->rc.outStream = &outStream.vt;
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
 2811 |   CLzmaEnc_SeqOutStreamBuf outStream;
      |                            ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
cc1: all warnings being treated as errors

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-03-28 00:51:30 +00:00
..
BrotliCompress BaseTools: Update brotli submodule 2022-02-15 02:13:32 +00:00
Common BaseTools/CommonLib.h: Build failed due to MAX_LONG_FILE_PATH 2021-01-06 04:01:12 +00:00
DevicePath BaseTools: Increase the DevicePath length for support more PCD value. 2021-12-09 00:43:16 +00:00
EfiRom BaseTools/EfiRom: remove redundant checking of argc 2020-12-22 11:22:36 +00:00
GenCrc32 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenFfs BaseTools: fix gcc12 warning 2022-03-28 00:51:30 +00:00
GenFv GenFv: Arm: support images entered in Thumb mode 2021-08-11 11:32:32 +00:00
GenFw BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
GenSec BaseTools: fix gcc12 warning 2022-03-28 00:51:30 +00:00
Include BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
LzmaCompress BaseTools: fix gcc12 warning 2022-03-28 00:51:30 +00:00
Makefiles BaseTools: Fix BaseTools nmake cleanall hang issue 2020-11-06 02:45:40 +00:00
PyEfiCompressor BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TianoCompress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
VfrCompile BaseTools/VfrCompile: Correct Bit Field Flags for numeric/one of 2021-12-09 03:31:26 +00:00
VolInfo BaseTools/VolInfo: Fix spelling mistake 2020-08-05 17:25:48 +00:00
GNUmakefile BaseTools: Convert Split tool to python 2021-01-21 10:19:09 +00:00
Makefile BaseTools: Convert Split tool to python 2021-01-21 10:19:09 +00:00