mirror of https://github.com/nodejs/node.git
5d7bd8616e
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> |
||
---|---|---|
.. | ||
contrib | ||
patches | ||
win32 | ||
BUILD.gn | ||
LICENSE | ||
OWNERS | ||
README.chromium | ||
adler32.c | ||
adler32_simd.c | ||
adler32_simd.h | ||
arm_features.c | ||
arm_features.h | ||
chromeconf.h | ||
compress.c | ||
crc32.c | ||
crc32.h | ||
crc32_simd.c | ||
crc32_simd.h | ||
crc_folding.c | ||
deflate.c | ||
deflate.h | ||
fill_window_sse.c | ||
gzclose.c | ||
gzguts.h | ||
gzlib.c | ||
gzread.c | ||
gzwrite.c | ||
infback.c | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
simd_stub.c | ||
trees.c | ||
trees.h | ||
uncompr.c | ||
x86.c | ||
x86.h | ||
zconf.h | ||
zlib.gyp | ||
zlib.h | ||
zutil.c | ||
zutil.h |
README.chromium
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.