node/deps/zlib
Daniel Bevenius 5d7bd8616e deps: suppress zlib compiler warnings
Currently, there are a number of compilation warnings from zlib like the
following one:

../deps/zlib/infback.c: In function ‘inflateBack’:
../deps/zlib/infback.c:479:25: warning:
this statement may fall through [-Wimplicit-fallthrough=]
  479 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
../deps/zlib/infback.c:481:9: note: here
  481 |         case LEN:
      |         ^~~~

In this case there is no break statement and the intention is to fall
through:

           Tracev((stderr, "inflate:       codes ok\n"));
           state->mode = LEN;

        case LEN:

This commit adds -Wno-implicit-fallthrough' to zlib.gyp to suppress
these warnings.

PR-URL: https://github.com/nodejs/node/pull/40343
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-10-11 11:11:54 +02:00
..
contrib build: fix zlib inlining for IA-32 2020-11-09 12:35:42 -08:00
google deps: update zlib to upstream d7f3ca9 2020-02-24 11:52:55 -08:00
patches deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
win32 deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
BUILD.gn deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
LICENSE deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
OWNERS deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
README.chromium deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
adler32.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
adler32_simd.c deps: fix zlib compilation for CPUs without SIMD features 2020-04-09 21:41:02 +02:00
adler32_simd.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
arm_features.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
arm_features.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
chromeconf.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
compress.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
crc32.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
crc32.h
crc32_simd.c deps: fix zlib compilation for CPUs without SIMD features 2020-04-09 21:41:02 +02:00
crc32_simd.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
crc_folding.c deps: fix zlib compilation for CPUs without SIMD features 2020-04-09 21:41:02 +02:00
deflate.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
deflate.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
fill_window_sse.c build: fix zlib inlining for IA-32 2020-11-09 12:35:42 -08:00
gzclose.c
gzguts.h
gzlib.c
gzread.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
gzwrite.c
infback.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
inffast.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
inffast.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
inffixed.h
inflate.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
inflate.h
inftrees.c
inftrees.h
simd_stub.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
trees.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
trees.h
uncompr.c
x86.c deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
x86.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
zconf.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
zlib.gyp deps: suppress zlib compiler warnings 2021-10-11 11:11:54 +02:00
zlib.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00
zutil.c
zutil.h deps: switch to chromium's zlib implementation 2020-01-26 18:47:02 -05:00

README.chromium

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Name: zlib
Short Name: zlib
URL: http://zlib.net/
Version: 1.2.11
Security Critical: yes
License: Custom license
License File: LICENSE
License Android Compatible: yes

Description:
"A massively spiffy yet delicately unobtrusive compression library."

zlib is a free, general-purpose, legally unencumbered lossless data-compression
library. zlib implements the "deflate" compression algorithm described by RFC
1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib
also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats.

Local Modifications:
 - Only source code from the zlib distribution used to build the zlib and
   minizip libraries are present. Many other files have been omitted. Only *.c
   and *.h files from the upstream root directory and contrib/minizip were
   imported.
 - The contents of the google directory are original Chromium-specific
   additions.
 - Added chromeconf.h
 - Plus the changes in 'patches' folder.
 - Code in contrib/ other than contrib/minizip was added to match zlib's
   contributor layout.