➜ src git:(master) ✗ make Checking for gcc... Checking for shared library support... Building shared library libz.1.2.11.dylib with gcc. Checking for size_t... Yes. Checking for off64_t... No. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. gcc -O3 -DHAVE_HIDDEN -c -o adler32.o adler32.c adler32.c:63:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT adler32_z(adler, buf, len) ^ adler32.c:134:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT adler32(adler, buf, len) ^ adler32.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local uLong adler32_combine_(adler1, adler2, len2) ^ adler32.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adler32.c:172:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT adler32_combine(adler1, adler2, len2) ^ adler32.c:180:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT adler32_combine64(adler1, adler2, len2) ^ 6 warnings generated. gcc -O3 -DHAVE_HIDDEN -c -o crc32.o crc32.c crc32.c:202:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long ZEXPORT crc32_z(crc, buf, len) ^ crc32.c:237:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long ZEXPORT crc32(crc, buf, len) ^ crc32.c:266:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long crc32_little(crc, buf, len) ^ crc32.c:266:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crc32.c:306:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long crc32_big(crc, buf, len) ^ crc32.c:306:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crc32.c:344:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long gf2_matrix_times(mat, vec) ^ crc32.c:344:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crc32.c:361:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void gf2_matrix_square(square, mat) ^ crc32.c:361:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crc32.c:372:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local uLong crc32_combine_(crc1, crc2, len2) ^ crc32.c:372:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crc32.c:428:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT crc32_combine(crc1, crc2, len2) ^ crc32.c:436:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uLong ZEXPORT crc32_combine64(crc1, crc2, len2) ^ 14 warnings generated. gcc -O3 -DHAVE_HIDDEN -c -o infback.o infback.c infback.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) ^ infback.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void fixedtables(state) ^ infback.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] infback.c:250:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) ^ infback.c:631:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateBackEnd(strm) ^ 5 warnings generated. gcc -O3 -DHAVE_HIDDEN -c -o inffast.o inffast.c inffast.c:50:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL inflate_fast(strm, start) ^ 1 warning generated. gcc -O3 -DHAVE_HIDDEN -c -o inflate.o inflate.c inflate.c:105:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int inflateStateCheck(strm) ^ inflate.c:105:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inflate.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateResetKeep(strm) ^ inflate.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateReset(strm) ^ inflate.c:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateReset2(strm, windowBits) ^ inflate.c:195:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) ^ inflate.c:239:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateInit_(strm, version, stream_size) ^ inflate.c:247:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflatePrime(strm, bits, value) ^ inflate.c:278:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void fixedtables(state) ^ inflate.c:278:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inflate.c:396:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int updatewindow(strm, end, copy) ^ inflate.c:396:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inflate.c:622:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflate(strm, flush) ^ inflate.c:1277:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateEnd(strm) ^ inflate.c:1291:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength) ^ inflate.c:1314:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) ^ inflate.c:1349:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateGetHeader(strm, head) ^ inflate.c:1377:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned syncsearch(have, buf, len) ^ inflate.c:1377:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inflate.c:1400:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateSync(strm) ^ inflate.c:1451:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateSyncPoint(strm) ^ inflate.c:1461:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateCopy(dest, source) ^ inflate.c:1508:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateUndermine(strm, subvert) ^ inflate.c:1526:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZEXPORT inflateValidate(strm, check) ^ inflate.c:1541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long ZEXPORT inflateMark(strm) ^ inflate.c:1554:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long ZEXPORT inflateCodesUsed(strm) ^ 26 warnings generated. gcc -O3 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c inftrees.c:32:19: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) ^ 1 warning generated. gcc -O3 -DHAVE_HIDDEN -c -o trees.o trees.c trees.c:379:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL _tr_init(s) ^ trees.c:407:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void init_block(s) ^ trees.c:407:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:451:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void pqdownheap(s, tree, k) ^ trees.c:451:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:486:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void gen_bitlen(s, desc) ^ trees.c:486:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void gen_codes (tree, max_code, bl_count) ^ trees.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:615:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void build_tree(s, desc) ^ trees.c:615:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:703:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void scan_tree (s, tree, max_code) ^ trees.c:703:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:748:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void send_tree (s, tree, max_code) ^ trees.c:748:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:799:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int build_bl_tree(s) ^ trees.c:799:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:834:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void send_all_trees(s, lcodes, dcodes, blcodes) ^ trees.c:834:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:863:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) ^ trees.c:886:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL _tr_flush_bits(s) ^ trees.c:896:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL _tr_align(s) ^ trees.c:911:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) ^ trees.c:1014:19: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ZLIB_INTERNAL _tr_tally (s, dist, lc) ^ trees.c:1064:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void compress_block(s, ltree, dtree) ^ trees.c:1064:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1124:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int detect_data_type(s) ^ trees.c:1124:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1158:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned bi_reverse(code, len) ^ trees.c:1158:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1173:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void bi_flush(s) ^ trees.c:1173:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1190:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void bi_windup(s) ^ trees.c:1190:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 34 warnings generated. gcc -O3 -DHAVE_HIDDEN -c -o zutil.o zutil.c zutil.c:133:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char * ZEXPORT zError(err) ^ zutil.c:305:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) ^ zutil.c:315:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ZLIB_INTERNAL zcfree (opaque, ptr) ^ 3 warnings generated. libtool -o libz.a adler32.o crc32.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c huffman.c gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -Wall -Winline -O2 -D_FILE_OFFSET_BITS=64 -c bzlib.c rm -f libbz2.a ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o decompress.o bzlib.o ranlib libbz2.a gcc -std=gnu89 -I. -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC -DXZ_DEC_ANY_CHECK -O2 -pedantic -Wall -Wextra -Wno-implicit-fallthrough -c -o xz_crc32.o xz_crc32.c In file included from xz_crc32.c:18: In file included from ./xz_private.h:50: ./xz_config.h:79:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_le32(const uint8_t *buf) ^ ./xz_config.h:89:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_be32(const uint8_t *buf) ^ ./xz_config.h:99:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_le32(uint32_t val, uint8_t *buf) ^ ./xz_config.h:109:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_be32(uint32_t val, uint8_t *buf) ^ In file included from xz_crc32.c:18: ./xz_private.h:133:48: warning: '_Bool' is a C99 extension [-Wc99-extensions] XZ_EXTERN struct xz_dec_bcj *xz_dec_bcj_create(bool single_call); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ 5 warnings generated. gcc -std=gnu89 -I. -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC -DXZ_DEC_ANY_CHECK -O2 -pedantic -Wall -Wextra -Wno-implicit-fallthrough -c -o xz_dec_stream.o xz_dec_stream.c In file included from xz_dec_stream.c:10: In file included from ./xz_private.h:50: ./xz_config.h:79:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_le32(const uint8_t *buf) ^ ./xz_config.h:89:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_be32(const uint8_t *buf) ^ ./xz_config.h:99:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_le32(uint32_t val, uint8_t *buf) ^ ./xz_config.h:109:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_be32(uint32_t val, uint8_t *buf) ^ In file included from xz_dec_stream.c:10: ./xz_private.h:133:48: warning: '_Bool' is a C99 extension [-Wc99-extensions] XZ_EXTERN struct xz_dec_bcj *xz_dec_bcj_create(bool single_call); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_stream.c:70:2: warning: '_Bool' is a C99 extension [-Wc99-extensions] bool allow_buf_error; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_stream.c:147:2: warning: '_Bool' is a C99 extension [-Wc99-extensions] bool bcj_active; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_stream.c:169:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool fill_temp(struct xz_dec *s, struct xz_buf *b) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_stream.c:391:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool check_skip(struct xz_dec *s, struct xz_buf *b) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ 9 warnings generated. gcc -std=gnu89 -I. -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC -DXZ_DEC_ANY_CHECK -O2 -pedantic -Wall -Wextra -Wno-implicit-fallthrough -c -o xz_dec_lzma2.o xz_dec_lzma2.c In file included from xz_dec_lzma2.c:11: In file included from ./xz_private.h:50: ./xz_config.h:79:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_le32(const uint8_t *buf) ^ ./xz_config.h:89:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_be32(const uint8_t *buf) ^ ./xz_config.h:99:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_le32(uint32_t val, uint8_t *buf) ^ ./xz_config.h:109:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_be32(uint32_t val, uint8_t *buf) ^ In file included from xz_dec_lzma2.c:11: ./xz_private.h:133:48: warning: '_Bool' is a C99 extension [-Wc99-extensions] XZ_EXTERN struct xz_dec_bcj *xz_dec_bcj_create(bool single_call); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ In file included from xz_dec_lzma2.c:12: ./xz_lzma2.h:64:8: warning: extension used [-Wlanguage-extension-token] static inline void lzma_state_literal(enum lzma_state *state) ^ ./xz_lzma2.h:75:8: warning: extension used [-Wlanguage-extension-token] static inline void lzma_state_match(enum lzma_state *state) ^ ./xz_lzma2.h:81:8: warning: extension used [-Wlanguage-extension-token] static inline void lzma_state_long_rep(enum lzma_state *state) ^ ./xz_lzma2.h:87:8: warning: extension used [-Wlanguage-extension-token] static inline void lzma_state_short_rep(enum lzma_state *state) ^ ./xz_lzma2.h:93:8: warning: extension used [-Wlanguage-extension-token] static inline bool lzma_state_is_literal(enum lzma_state state) ^ ./xz_lzma2.h:93:15: warning: '_Bool' is a C99 extension [-Wc99-extensions] static inline bool lzma_state_is_literal(enum lzma_state state) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ In file included from xz_dec_lzma2.c:12: ./xz_lzma2.h:147:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t lzma_get_dist_state(uint32_t len) ^ xz_dec_lzma2.c:244:2: warning: '_Bool' is a C99 extension [-Wc99-extensions] bool need_dict_reset; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:250:2: warning: '_Bool' is a C99 extension [-Wc99-extensions] bool need_props; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:309:8: warning: extension used [-Wlanguage-extension-token] static inline bool dict_has_space(const struct dictionary *dict) ^ xz_dec_lzma2.c:309:15: warning: '_Bool' is a C99 extension [-Wc99-extensions] static inline bool dict_has_space(const struct dictionary *dict) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:320:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t dict_get(const struct dictionary *dict, uint32_t dist) ^ xz_dec_lzma2.c:333:8: warning: extension used [-Wlanguage-extension-token] static inline void dict_put(struct dictionary *dict, uint8_t byte) ^ xz_dec_lzma2.c:346:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool dict_repeat(struct dictionary *dict, uint32_t *len, uint32_t dist) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:466:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool rc_read_init(struct rc_dec *rc, struct xz_buf *b) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:480:8: warning: extension used [-Wlanguage-extension-token] static inline bool rc_limit_exceeded(const struct rc_dec *rc) ^ xz_dec_lzma2.c:480:15: warning: '_Bool' is a C99 extension [-Wc99-extensions] static inline bool rc_limit_exceeded(const struct rc_dec *rc) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:489:8: warning: extension used [-Wlanguage-extension-token] static inline bool rc_is_finished(const struct rc_dec *rc) ^ xz_dec_lzma2.c:489:15: warning: '_Bool' is a C99 extension [-Wc99-extensions] static inline bool rc_is_finished(const struct rc_dec *rc) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:495:8: warning: extension used [-Wlanguage-extension-token] static __always_inline void rc_normalize(struct rc_dec *rc) ^ ./xz_config.h:71:4: note: expanded from macro '__always_inline' inline __attribute__((__always_inline__)) ^ xz_dec_lzma2.c:514:8: warning: extension used [-Wlanguage-extension-token] static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) ^ ./xz_config.h:71:4: note: expanded from macro '__always_inline' inline __attribute__((__always_inline__)) ^ xz_dec_lzma2.c:536:8: warning: extension used [-Wlanguage-extension-token] static __always_inline uint32_t rc_bittree(struct rc_dec *rc, ^ ./xz_config.h:71:4: note: expanded from macro '__always_inline' inline __attribute__((__always_inline__)) ^ xz_dec_lzma2.c:552:8: warning: extension used [-Wlanguage-extension-token] static __always_inline void rc_bittree_reverse(struct rc_dec *rc, ^ ./xz_config.h:71:4: note: expanded from macro '__always_inline' inline __attribute__((__always_inline__)) ^ xz_dec_lzma2.c:570:8: warning: extension used [-Wlanguage-extension-token] static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit) ^ xz_dec_lzma2.c:739:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool lzma_main(struct xz_dec_lzma2 *s) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:816:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_lzma2.c:863:8: warning: '_Bool' is a C99 extension [-Wc99-extensions] static bool lzma2_lzma(struct xz_dec_lzma2 *s, struct xz_buf *b) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ 32 warnings generated. gcc -std=gnu89 -I. -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC -DXZ_DEC_ANY_CHECK -O2 -pedantic -Wall -Wextra -Wno-implicit-fallthrough -c -o xz_dec_bcj.o xz_dec_bcj.c In file included from xz_dec_bcj.c:11: In file included from ./xz_private.h:50: ./xz_config.h:79:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_le32(const uint8_t *buf) ^ ./xz_config.h:89:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t get_unaligned_be32(const uint8_t *buf) ^ ./xz_config.h:99:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_le32(uint32_t val, uint8_t *buf) ^ ./xz_config.h:109:8: warning: extension used [-Wlanguage-extension-token] static inline void put_unaligned_be32(uint32_t val, uint8_t *buf) ^ In file included from xz_dec_bcj.c:11: ./xz_private.h:133:48: warning: '_Bool' is a C99 extension [-Wc99-extensions] XZ_EXTERN struct xz_dec_bcj *xz_dec_bcj_create(bool single_call); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_bcj.c:38:2: warning: '_Bool' is a C99 extension [-Wc99-extensions] bool single_call; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_bcj.c:83:8: warning: extension used [-Wlanguage-extension-token] static inline int bcj_x86_test_msbyte(uint8_t b) ^ xz_dec_bcj.c:90:15: warning: '_Bool' is a C99 extension [-Wc99-extensions] static const bool mask_to_allowed_status[8] ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ xz_dec_bcj.c:527:48: warning: '_Bool' is a C99 extension [-Wc99-extensions] XZ_EXTERN struct xz_dec_bcj *xz_dec_bcj_create(bool single_call) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool' #define bool _Bool ^ 9 warnings generated. ar cq libxz.a xz_crc32.o xz_dec_stream.o xz_dec_lzma2.o xz_dec_bcj.o cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/debug.o common/debug.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/entropy_common.o common/entropy_common.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/error_private.o common/error_private.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/fse_decompress.o common/fse_decompress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/pool.o common/pool.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/threading.o common/threading.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/xxhash.o common/xxhash.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o common/zstd_common.o common/zstd_common.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/fse_compress.o compress/fse_compress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/hist.o compress/hist.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/huf_compress.o compress/huf_compress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_compress.o compress/zstd_compress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_compress_literals.o compress/zstd_compress_literals.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_compress_sequences.o compress/zstd_compress_sequences.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_compress_superblock.o compress/zstd_compress_superblock.c compress/zstd_compress_superblock.c:412:12: warning: variable 'litLengthSum' set but not used [-Wunused-but-set-variable] size_t litLengthSum = 0; ^ 1 warning generated. cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_fast.o compress/zstd_fast.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstd_ldm.o compress/zstd_ldm.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o compress/zstdmt_compress.o compress/zstdmt_compress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o decompress/huf_decompress.o decompress/huf_decompress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o decompress/zstd_ddict.o decompress/zstd_ddict.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o decompress/zstd_decompress.o decompress/zstd_decompress.c cc -Oz -fno-stack-protector -fomit-frame-pointer -fno-ident -DDYNAMIC_BMI2=0 -DNDEBUG -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wmissing-prototypes -Wc++-compat -DHUF_FORCE_DECOMPRESS_X1 -DZSTD_FORCE_DECOMPRESS_SHORT -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -c -o decompress/zstd_decompress_block.o decompress/zstd_decompress_block.c compiling static library gcc -DDISKS_TEST=0 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE -Wall -Wextra -pedantic --std=c99 -O3 -fvisibility=hidden -I./zlib -I./bzip2 -I./xz -I./zstd -DMACOSX=1 -x objective-c -fobjc-exceptions -pthread -o lang.o -c lang.c gcc -DDISKS_TEST=0 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE -Wall -Wextra -pedantic --std=c99 -O3 -fvisibility=hidden -I./zlib -I./bzip2 -I./xz -I./zstd -DMACOSX=1 -x objective-c -fobjc-exceptions -pthread -o stream.o -c stream.c In file included from stream.c:34: In file included from ./stream.h:38: ./main.h:55:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void main_getErrorMessage(); ^ void stream.c:84:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] struct xz_dec *xzinit() ^ void 2 warnings generated. gcc -DDISKS_TEST=0 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE -Wall -Wextra -pedantic --std=c99 -O3 -fvisibility=hidden -I./zlib -I./bzip2 -I./xz -I./zstd -DMACOSX=1 -x objective-c -fobjc-exceptions -pthread -o main_libui.o -c main_libui.c In file included from main_libui.c:34: In file included from ./stream.h:38: ./main.h:55:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void main_getErrorMessage(); ^ void In file included from main_libui.c:35: ./disks.h:55:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] char *disks_getlang(); ^ void ./disks.h:61:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void disks_refreshlist(); ^ void main_libui.c:66:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void main_getErrorMessage() ^ void 4 warnings generated. gcc -DDISKS_TEST=0 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE -Wall -Wextra -pedantic --std=c99 -O3 -fvisibility=hidden -I./zlib -I./bzip2 -I./xz -I./zstd -DMACOSX=1 -x objective-c -fobjc-exceptions -pthread -o disks_darwin.o -c disks_darwin.c In file included from disks_darwin.c:55: ./main.h:55:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void main_getErrorMessage(); ^ void In file included from disks_darwin.c:56: ./disks.h:55:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] char *disks_getlang(); ^ void ./disks.h:61:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void disks_refreshlist(); ^ void disks_darwin.c:76:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] char *disks_getlang() ^ void disks_darwin.c:85:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void disks_refreshlist() ^ void 5 warnings generated. ld -macosx_version_min 10.13 -framework CoreFoundation -framework IOKit -framework DiskArbitration -framework Foundation -framework Cocoa -o usbimager lang.o stream.o main_libui.o disks_darwin.o zlib/libz.a bzip2/libbz2.a xz/libxz.a zstd/libzstd.a libui/darwin.a -lc -lobjc -lpthread ld: framework not found CoreFoundation make: *** [usbimager] Error 1 ➜ src git:(master) ✗