D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: %make is deprecated, use %make_build instead warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/ustr-1.0.4-14.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GCQXQe + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ustr-1.0.4 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/ustr-1.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ustr-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ustr-1.0.4-c99-inline.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ustr-1.0.4-ustrp_utf8_valid.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.w77qwA + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ustr-1.0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 all-shared 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' HIDE= echo Compiling: auto configuration test: vsnprintf Compiling: auto configuration test: vsnprintf cc -o autoconf_vsnprintf autoconf_vsnprintf.c echo Compiling: auto configuration test: 64bit Compiling: auto configuration test: 64bit cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -o autoconf_64b autoconf_64b.c echo Creating ustr-conf.h Creating ustr-conf.h have_stdint_h=0; dbg1=0; dbg2=0; \ sz64=`./autoconf_64b`; vsnp=`./autoconf_vsnprintf`; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ sed -e "s,@HAVE_STDINT_H@,$have_stdint_h,g" -e "s,@USE_ASSERT@,$dbg1,g" -e "s,@USE_EOS_MARK@,$dbg2,g" -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAVE_RETARDED_VSNPRINTF@,$vsnp,g" < ustr-conf.h.in > ustr-conf.h echo Creating ustr-conf-debug.h Creating ustr-conf-debug.h have_stdint_h=0; dbg1=1; dbg2=1; \ sz64=`./autoconf_64b`; vsnp=`./autoconf_vsnprintf`; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ if test -f "/usr/include/stdint.h"; then have_stdint_h=1; fi; \ sed -e "s,@HAVE_STDINT_H@,$have_stdint_h,g" -e "s,@USE_ASSERT@,$dbg1,g" -e "s,@USE_EOS_MARK@,$dbg2,g" -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAVE_RETARDED_VSNPRINTF@,$vsnp,g" < ustr-conf.h.in > ustr-conf-debug.h echo Creating ustr-import Creating ustr-import sz64=`./autoconf_64b`; vsnp=`./autoconf_vsnprintf`; \ sed -e 's,@INCLUDEDIR@,/usr/include,g' -e 's,@SHRDIR@,/usr/share/ustr-1.0.4,g' -e 's,@VERS@,1.0,g' -e 's,@VERS_FULL@,1.0.4,g' -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAVE_RETARDED_VSNPRINTF@,$vsnp,g" < ustr-import.in > ustr-import chmod 755 ustr-import echo Compiling for A DBG lib: ustr-pool-dbg-code.c Compiling for A DBG lib: ustr-pool-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-pool-code-a-dbg.o -c ustr-pool-dbg-code.c echo Compiling for A DBG lib: ustr-fmt-dbg-code.c Compiling for A DBG lib: ustr-fmt-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-fmt-code-a-dbg.o -c ustr-fmt-dbg-code.c In file included from ustr-fmt-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-parse-dbg-code.c Compiling for A DBG lib: ustr-parse-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-parse-code-a-dbg.o -c ustr-parse-dbg-code.c In file included from ustr-parse.h:79, from ustr-parse-dbg-code.c:20: ustr-parse-code.h: In function 'ustr__parse_num_beg': ustr-parse-code.h:54:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | *tst_neg = USTR_TRUE; ustr-parse-code.h:55:7: note: here 55 | case '+': | ^~~~ In file included from ustr-parse-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-b-dbg-code.c Compiling for A DBG lib: ustr-b-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-b-code-a-dbg.o -c ustr-b-dbg-code.c In file included from ustr-b-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-ins-dbg-code.c Compiling for A DBG lib: ustr-ins-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-ins-code-a-dbg.o -c ustr-ins-dbg-code.c In file included from ustr-ins-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-io-dbg-code.c Compiling for A DBG lib: ustr-io-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-io-code-a-dbg.o -c ustr-io-dbg-code.c In file included from ustr-io-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:49, from ustr-io-dbg-code.c:11: ustr-io-dbg-code.c: In function 'ustrp__io_get': ustr-io-code.h:14:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-dbg-code.c: In function 'ustrp__io_getdelim': ustr-io-code.h:126:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:126:3: note: in expansion of macro 'USTR_ASSERT' 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-dbg-code.c: In function 'ustrp__io_put': ustr-io-code.h:187:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ echo Compiling for A DBG lib: ustr-split-dbg-code.c Compiling for A DBG lib: ustr-split-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-split-code-a-dbg.o -c ustr-split-dbg-code.c In file included from ustr-split-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-set-dbg-code.c Compiling for A DBG lib: ustr-set-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-set-code-a-dbg.o -c ustr-set-dbg-code.c In file included from ustr-set-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-replace-dbg-code.c Compiling for A DBG lib: ustr-replace-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-replace-code-a-dbg.o -c ustr-replace-dbg-code.c In file included from ustr-replace-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-cmp-dbg-code.c Compiling for A DBG lib: ustr-cmp-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-cmp-code-a-dbg.o -c ustr-cmp-dbg-code.c In file included from ustr-cmp-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:49, from ustr-cmp-dbg-code.c:11: ustr-cmp-dbg-code.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_buf': ustr-cmp-code.h:85:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:85:3: note: in expansion of macro 'USTR_ASSERT' 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_prefix_buf_eq': ustr-cmp-code.h:125:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:125:3: note: in expansion of macro 'USTR_ASSERT' 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_suffix_buf_eq': ustr-cmp-code.h:139:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:139:3: note: in expansion of macro 'USTR_ASSERT' 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo Compiling for A DBG lib: ustr-sc-dbg-code.c Compiling for A DBG lib: ustr-sc-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-sc-code-a-dbg.o -c ustr-sc-dbg-code.c In file included from ustr-sc.h:199, from ustr-sc-dbg-code.c:22: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-sc-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A OPT lib: ustr-b-opt-code.c Compiling for A OPT lib: ustr-b-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-b-code-a-opt.o -c ustr-b-opt-code.c echo Compiling for A DBG lib: ustr-sub-dbg-code.c Compiling for A DBG lib: ustr-sub-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-sub-code-a-dbg.o -c ustr-sub-dbg-code.c In file included from ustr-sub-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-utf8-dbg-code.c Compiling for A DBG lib: ustr-utf8-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-utf8-code-a-dbg.o -c ustr-utf8-dbg-code.c In file included from ustr-utf8-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-spn-dbg-code.c Compiling for A DBG lib: ustr-spn-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-spn-code-a-dbg.o -c ustr-spn-dbg-code.c In file included from ustr-spn-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A DBG lib: ustr-srch-dbg-code.c Compiling for A DBG lib: ustr-srch-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-srch-code-a-dbg.o -c ustr-srch-dbg-code.c In file included from ustr-srch-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A OPT lib: ustr-pool-opt-code.c Compiling for A OPT lib: ustr-pool-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-pool-code-a-opt.o -c ustr-pool-opt-code.c echo Compiling for A OPT lib: ustr-fmt-opt-code.c Compiling for A OPT lib: ustr-fmt-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-fmt-code-a-opt.o -c ustr-fmt-opt-code.c echo Compiling for A OPT lib: ustr-parse-opt-code.c Compiling for A OPT lib: ustr-parse-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-parse-code-a-opt.o -c ustr-parse-opt-code.c echo Compiling for A OPT lib: ustr-io-opt-code.c Compiling for A OPT lib: ustr-io-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-io-code-a-opt.o -c ustr-io-opt-code.c echo Compiling for A OPT lib: ustr-ins-opt-code.c Compiling for A OPT lib: ustr-ins-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-ins-code-a-opt.o -c ustr-ins-opt-code.c echo Compiling for A OPT lib: ustr-replace-opt-code.c Compiling for A OPT lib: ustr-replace-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-replace-code-a-opt.o -c ustr-replace-opt-code.c echo Compiling for A DBG lib: ustr-main-dbg-code.c Compiling for A DBG lib: ustr-main-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-main-code-a-dbg.o -c ustr-main-dbg-code.c In file included from ustr-cntl.h:100, from ustr-main.h:150, from ustr-main-dbg-code.c:11: ustr-cntl-code.h: In function 'ustr__cntl_mc_setup_env2bool': ustr-cntl-code.h:67:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 67 | if (USTR__STREQ(ptr, "no")) return (USTR_FALSE); | ^~ ustr-cntl-code.h:69:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 69 | return (!!def); | ^~~~~~ In file included from ustr-main-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-main-dbg-code.c:11: ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ echo Compiling for A OPT lib: ustr-set-opt-code.c Compiling for A OPT lib: ustr-set-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-set-code-a-opt.o -c ustr-set-opt-code.c echo Compiling for A OPT lib: ustr-split-opt-code.c Compiling for A OPT lib: ustr-split-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-split-code-a-opt.o -c ustr-split-opt-code.c echo Compiling for A OPT lib: ustr-cmp-opt-code.c Compiling for A OPT lib: ustr-cmp-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-cmp-code-a-opt.o -c ustr-cmp-opt-code.c echo Compiling for A OPT lib: ustr-utf8-opt-code.c Compiling for A OPT lib: ustr-utf8-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-utf8-code-a-opt.o -c ustr-utf8-opt-code.c echo Compiling for SO DBG lib: ustr-b-dbg-code.c Compiling for SO DBG lib: ustr-b-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-b-code-so-dbg.o -c ustr-b-dbg-code.c In file included from ustr-b-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-fmt-dbg-code.c Compiling for SO DBG lib: ustr-fmt-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-fmt-code-so-dbg.o -c ustr-fmt-dbg-code.c In file included from ustr-fmt-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A OPT lib: ustr-sc-opt-code.c Compiling for A OPT lib: ustr-sc-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-sc-code-a-opt.o -c ustr-sc-opt-code.c echo Compiling for A OPT lib: ustr-spn-opt-code.c Compiling for A OPT lib: ustr-spn-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-spn-code-a-opt.o -c ustr-spn-opt-code.c echo Compiling for SO DBG lib: ustr-io-dbg-code.c Compiling for SO DBG lib: ustr-io-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-io-code-so-dbg.o -c ustr-io-dbg-code.c In file included from ustr-io-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:49, from ustr-io-dbg-code.c:11: ustr-io-dbg-code.c: In function 'ustrp__io_get': ustr-io-code.h:14:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-dbg-code.c: In function 'ustrp__io_getdelim': ustr-io-code.h:126:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:126:3: note: in expansion of macro 'USTR_ASSERT' 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-dbg-code.c: In function 'ustrp__io_put': ustr-io-code.h:187:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ echo Compiling for A OPT lib: ustr-sub-opt-code.c Compiling for A OPT lib: ustr-sub-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-sub-code-a-opt.o -c ustr-sub-opt-code.c echo Compiling for SO DBG lib: ustr-parse-dbg-code.c Compiling for SO DBG lib: ustr-parse-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-parse-code-so-dbg.o -c ustr-parse-dbg-code.c In file included from ustr-parse.h:79, from ustr-parse-dbg-code.c:20: ustr-parse-code.h: In function 'ustr__parse_num_beg': ustr-parse-code.h:54:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | *tst_neg = USTR_TRUE; ustr-parse-code.h:55:7: note: here 55 | case '+': | ^~~~ In file included from ustr-parse-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-cmp-dbg-code.c Compiling for SO DBG lib: ustr-cmp-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-cmp-code-so-dbg.o -c ustr-cmp-dbg-code.c In file included from ustr-cmp-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:49, from ustr-cmp-dbg-code.c:11: ustr-cmp-dbg-code.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_buf': ustr-cmp-code.h:85:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:85:3: note: in expansion of macro 'USTR_ASSERT' 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_prefix_buf_eq': ustr-cmp-code.h:125:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:125:3: note: in expansion of macro 'USTR_ASSERT' 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ustr-cmp-dbg-code.c: In function 'ustr_cmp_case_suffix_buf_eq': ustr-cmp-code.h:139:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h:139:3: note: in expansion of macro 'USTR_ASSERT' 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo Compiling for SO DBG lib: ustr-pool-dbg-code.c Compiling for SO DBG lib: ustr-pool-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-pool-code-so-dbg.o -c ustr-pool-dbg-code.c echo Compiling for SO DBG lib: ustr-ins-dbg-code.c Compiling for SO DBG lib: ustr-ins-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-ins-code-so-dbg.o -c ustr-ins-dbg-code.c In file included from ustr-ins-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for A OPT lib: ustr-srch-opt-code.c Compiling for A OPT lib: ustr-srch-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-srch-code-a-opt.o -c ustr-srch-opt-code.c echo Compiling for SO DBG lib: ustr-replace-dbg-code.c Compiling for SO DBG lib: ustr-replace-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-replace-code-so-dbg.o -c ustr-replace-dbg-code.c In file included from ustr-replace-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-split-dbg-code.c Compiling for SO DBG lib: ustr-split-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-split-code-so-dbg.o -c ustr-split-dbg-code.c In file included from ustr-split-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-set-dbg-code.c Compiling for SO DBG lib: ustr-set-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-set-code-so-dbg.o -c ustr-set-dbg-code.c In file included from ustr-set-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-sub-dbg-code.c Compiling for SO DBG lib: ustr-sub-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-sub-code-so-dbg.o -c ustr-sub-dbg-code.c In file included from ustr-sub-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-spn-dbg-code.c Compiling for SO DBG lib: ustr-spn-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-spn-code-so-dbg.o -c ustr-spn-dbg-code.c In file included from ustr-spn-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO OPT lib: ustr-b-opt-code.c Compiling for SO OPT lib: ustr-b-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-b-code-so-opt.o -c ustr-b-opt-code.c echo Compiling for SO DBG lib: ustr-utf8-dbg-code.c Compiling for SO DBG lib: ustr-utf8-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-utf8-code-so-dbg.o -c ustr-utf8-dbg-code.c In file included from ustr-utf8-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-sc-dbg-code.c Compiling for SO DBG lib: ustr-sc-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-sc-code-so-dbg.o -c ustr-sc-dbg-code.c In file included from ustr-sc.h:199, from ustr-sc-dbg-code.c:22: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-sc-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO DBG lib: ustr-srch-dbg-code.c Compiling for SO DBG lib: ustr-srch-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-srch-code-so-dbg.o -c ustr-srch-dbg-code.c In file included from ustr-srch-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ echo Compiling for SO OPT lib: ustr-fmt-opt-code.c Compiling for SO OPT lib: ustr-fmt-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-fmt-code-so-opt.o -c ustr-fmt-opt-code.c echo Compiling for SO OPT lib: ustr-parse-opt-code.c Compiling for SO OPT lib: ustr-parse-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-parse-code-so-opt.o -c ustr-parse-opt-code.c echo Compiling for SO OPT lib: ustr-pool-opt-code.c Compiling for SO OPT lib: ustr-pool-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-pool-code-so-opt.o -c ustr-pool-opt-code.c echo Compiling for SO OPT lib: ustr-io-opt-code.c Compiling for SO OPT lib: ustr-io-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-io-code-so-opt.o -c ustr-io-opt-code.c echo Compiling for SO OPT lib: ustr-ins-opt-code.c Compiling for SO OPT lib: ustr-ins-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-ins-code-so-opt.o -c ustr-ins-opt-code.c echo Compiling for A OPT lib: ustr-main-opt-code.c Compiling for A OPT lib: ustr-main-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-main-code-a-opt.o -c ustr-main-opt-code.c echo Compiling for SO OPT lib: ustr-split-opt-code.c Compiling for SO OPT lib: ustr-split-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-split-code-so-opt.o -c ustr-split-opt-code.c echo Compiling for SO OPT lib: ustr-set-opt-code.c Compiling for SO OPT lib: ustr-set-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-set-code-so-opt.o -c ustr-set-opt-code.c echo Compiling for SO OPT lib: ustr-replace-opt-code.c Compiling for SO OPT lib: ustr-replace-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-replace-code-so-opt.o -c ustr-replace-opt-code.c echo Compiling for SO DBG lib: ustr-main-dbg-code.c Compiling for SO DBG lib: ustr-main-dbg-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ustr-main-code-so-dbg.o -c ustr-main-dbg-code.c In file included from ustr-cntl.h:100, from ustr-main.h:150, from ustr-main-dbg-code.c:11: ustr-cntl-code.h: In function 'ustr__cntl_mc_setup_env2bool': ustr-cntl-code.h:67:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 67 | if (USTR__STREQ(ptr, "no")) return (USTR_FALSE); | ^~ ustr-cntl-code.h:69:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 69 | return (!!def); | ^~~~~~ In file included from ustr-main-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-main-dbg-code.c:11: ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ echo Linking A DBG lib: libustr-debug.a Linking A DBG lib: libustr-debug.a ar ru libustr-debug.a ustr-b-code-a-dbg.o ustr-cmp-code-a-dbg.o ustr-fmt-code-a-dbg.o ustr-io-code-a-dbg.o ustr-ins-code-a-dbg.o ustr-main-code-a-dbg.o ustr-parse-code-a-dbg.o ustr-pool-code-a-dbg.o ustr-replace-code-a-dbg.o ustr-sc-code-a-dbg.o ustr-set-code-a-dbg.o ustr-split-code-a-dbg.o ustr-spn-code-a-dbg.o ustr-srch-code-a-dbg.o ustr-sub-code-a-dbg.o ustr-utf8-code-a-dbg.o ar: creating libustr-debug.a ranlib libustr-debug.a echo Linking A OPT lib: libustr.a Linking A OPT lib: libustr.a ar ru libustr.a ustr-b-code-a-opt.o ustr-cmp-code-a-opt.o ustr-fmt-code-a-opt.o ustr-io-code-a-opt.o ustr-ins-code-a-opt.o ustr-main-code-a-opt.o ustr-parse-code-a-opt.o ustr-pool-code-a-opt.o ustr-replace-code-a-opt.o ustr-sc-code-a-opt.o ustr-set-code-a-opt.o ustr-split-code-a-opt.o ustr-spn-code-a-opt.o ustr-srch-code-a-opt.o ustr-sub-code-a-opt.o ustr-utf8-code-a-opt.o ar: creating libustr.a ranlib libustr.a echo Linking SO DBG lib: libustr-debug-1.0.so.1.0.4 Linking SO DBG lib: libustr-debug-1.0.so.1.0.4 cc -shared ustr-b-code-so-dbg.o ustr-cmp-code-so-dbg.o ustr-fmt-code-so-dbg.o ustr-io-code-so-dbg.o ustr-ins-code-so-dbg.o ustr-main-code-so-dbg.o ustr-parse-code-so-dbg.o ustr-pool-code-so-dbg.o ustr-replace-code-so-dbg.o ustr-sc-code-so-dbg.o ustr-set-code-so-dbg.o ustr-split-code-so-dbg.o ustr-spn-code-so-dbg.o ustr-srch-code-so-dbg.o ustr-sub-code-so-dbg.o ustr-utf8-code-so-dbg.o -Wl,-soname -Wl,libustr-debug-1.0.so.1 -Wl,-version-script -Wl,libustr.ver -o libustr-debug-1.0.so.1.0.4 echo Done static Done static echo Compiling for SO OPT lib: ustr-cmp-opt-code.c Compiling for SO OPT lib: ustr-cmp-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-cmp-code-so-opt.o -c ustr-cmp-opt-code.c echo Compiling for SO OPT lib: ustr-utf8-opt-code.c Compiling for SO OPT lib: ustr-utf8-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-utf8-code-so-opt.o -c ustr-utf8-opt-code.c echo Compiling for SO OPT lib: ustr-spn-opt-code.c Compiling for SO OPT lib: ustr-spn-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-spn-code-so-opt.o -c ustr-spn-opt-code.c echo Compiling for SO OPT lib: ustr-sub-opt-code.c Compiling for SO OPT lib: ustr-sub-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-sub-code-so-opt.o -c ustr-sub-opt-code.c echo Compiling for SO OPT lib: ustr-sc-opt-code.c Compiling for SO OPT lib: ustr-sc-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-sc-code-so-opt.o -c ustr-sc-opt-code.c echo Compiling for SO OPT lib: ustr-srch-opt-code.c Compiling for SO OPT lib: ustr-srch-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-srch-code-so-opt.o -c ustr-srch-opt-code.c echo Compiling for SO OPT lib: ustr-main-opt-code.c Compiling for SO OPT lib: ustr-main-opt-code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-main-code-so-opt.o -c ustr-main-opt-code.c echo Linking SO OPT lib: libustr-1.0.so.1.0.4 Linking SO OPT lib: libustr-1.0.so.1.0.4 cc -shared ustr-b-code-so-opt.o ustr-cmp-code-so-opt.o ustr-fmt-code-so-opt.o ustr-io-code-so-opt.o ustr-ins-code-so-opt.o ustr-main-code-so-opt.o ustr-parse-code-so-opt.o ustr-pool-code-so-opt.o ustr-replace-code-so-opt.o ustr-sc-code-so-opt.o ustr-set-code-so-opt.o ustr-split-code-so-opt.o ustr-spn-code-so-opt.o ustr-srch-code-so-opt.o ustr-sub-code-so-opt.o ustr-utf8-code-so-opt.o -Wl,-soname -Wl,libustr-1.0.so.1 -Wl,-version-script -Wl,libustr.ver -o libustr-1.0.so.1.0.4 echo Done shared Done shared + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.42bzAR + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 + cd ustr-1.0.4 + '[' 1 -eq 1 ']' + make install-multilib-linux prefix=/usr bindir=/usr/bin mandir=/usr/share/man datadir=/usr/share libdir=/usr/lib64 includedir=/usr/include libexecdir=/usr/libexec DOCSHRDIR=/usr/share/doc/ustr-devel DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 LDCONFIG=/bin/true HIDE= echo Done static Done static echo Done shared Done shared echo Making directories Making directories install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64 install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/ustr-1.0.4 install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/ustr-devel install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/ustr-1.0.4/examples install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/man/man1 install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/man/man3 install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/pkgconfig echo Installing files Installing files install -m 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64 libustr-debug.a libustr.a install -m 755 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64 libustr-debug-1.0.so.1.0.4 libustr-1.0.so.1.0.4 rm -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-1.0.so.1 ln -s libustr-1.0.so.1.0.4 /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-1.0.so.1 rm -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr.so ln -s libustr-1.0.so.1 /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr.so rm -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-debug-1.0.so.1 ln -s libustr-debug-1.0.so.1.0.4 /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-debug-1.0.so.1 rm -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-debug.so ln -s libustr-debug-1.0.so.1 /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-debug.so /bin/true -n /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64 install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include ustr.h ustr-debug.h ustr-conf.h ustr-conf-debug.h ustr-b.h ustr-cmp.h ustr-cntl.h ustr-compiler.h ustr-fmt.h ustr-io.h ustr-ins.h ustr-main.h ustr-parse.h ustr-pool.h ustr-replace.h ustr-sc.h ustr-set.h ustr-split.h ustr-spn.h ustr-srch.h ustr-sub.h ustr-utf8.h install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/ustr-1.0.4 ustr-b-dbg-code.c ustr-cmp-dbg-code.c ustr-fmt-dbg-code.c ustr-io-dbg-code.c ustr-ins-dbg-code.c ustr-main-dbg-code.c ustr-parse-dbg-code.c ustr-pool-dbg-code.c ustr-replace-dbg-code.c ustr-sc-dbg-code.c ustr-set-dbg-code.c ustr-split-dbg-code.c ustr-spn-dbg-code.c ustr-srch-dbg-code.c ustr-sub-dbg-code.c ustr-utf8-dbg-code.c ustr-b-opt-code.c ustr-cmp-opt-code.c ustr-fmt-opt-code.c ustr-io-opt-code.c ustr-ins-opt-code.c ustr-main-opt-code.c ustr-parse-opt-code.c ustr-pool-opt-code.c ustr-replace-opt-code.c ustr-sc-opt-code.c ustr-set-opt-code.c ustr-split-opt-code.c ustr-spn-opt-code.c ustr-srch-opt-code.c ustr-sub-opt-code.c ustr-utf8-opt-code.c malloc-check.h ustr-b-code.h ustr-cmp-code.h ustr-cmp-internal.h ustr-cntl-code.h ustr-fmt-code.h ustr-fmt-internal.h ustr-io-code.h ustr-io-internal.h ustr-ins-code.h ustr-ins-internal.h ustr-main-code.h ustr-main-internal.h ustr-parse-code.h ustr-pool-code.h ustr-replace-code.h ustr-replace-internal.h ustr-sc-code.h ustr-sc-internal.h ustr-set-code.h ustr-set-internal.h ustr-split-code.h ustr-split-internal.h ustr-spn-code.h ustr-srch-code.h ustr-srch-internal.h ustr-sub-code.h ustr-sub-internal.h ustr-utf8-code.h ustr-utf8-internal.h install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/ustr-1.0.4 .gdbinit install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/ustr-devel README-DEVELOPERS TODO Documentation/strdup\ vs.\ ustr.gnumeric Documentation/index.html Documentation/functions.html Documentation/constants.html Documentation/design.html Documentation/tutorial.html install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/ustr-1.0.4/examples examples/Makefile examples/basename.c examples/custr.c examples/dirname.c examples/fgrep.c examples/hello_world.c examples/hexdump.c examples/linecat.c examples/mkdir_p.c examples/netstr.c examples/nums.c examples/txt2html.c install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/man/man1 Documentation/ustr-import.1 install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/man/man3 Documentation/ustr.3 Documentation/ustr_const.3 install -m 755 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin ustr-import install -pm 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/pkgconfig ustr.pc ustr-debug.pc sed -e 's,@INCLUDEDIR@,/usr/include,g' -e 's,@MBINDIR@,/usr/libexec/ustr-1.0.4,g' < ustr-import-multilib.in > ustr-import-multilib install -d /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/libexec/ustr-1.0.4 mlib=`./autoconf_64b`; \ if test "x$mlib" = "x1"; then mlib=64; else mlib=32; fi; \ mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-debug.h \ /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-debug-$mlib.h; \ mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf.h \ /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-$mlib.h; \ mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin/ustr-import \ /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/libexec/ustr-1.0.4/ustr-import-$mlib install -m 644 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include ustr-conf-multilib-linux.h ustr-conf-debug-multilib-linux.h mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-debug-multilib-linux.h /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-debug.h mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-multilib-linux.h /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf.h install -m 755 -t /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin ustr-import-multilib mv -f /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin/ustr-import-multilib /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin/ustr-import touch --reference ustr-conf-multilib-linux.h /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf.h touch --reference ustr-conf-debug-multilib-linux.h /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/include/ustr-conf-debug.h touch --reference ustr-import-multilib.in /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/bin/ustr-import + find /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 -name '*.a' -delete + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.4-14.mga9 --unique-debug-suffix -1.0.4-14.mga9.aarch64 --unique-debug-src-base ustr-1.0.4-14.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/ustr-1.0.4 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-1.0.so.1.0.4 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/lib64/libustr-debug-1.0.so.1.0.4 dwz: ./usr/lib64/libustr-1.0.so.1.0.4-1.0.4-14.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/libustr-debug-1.0.so.1.0.4-1.0.4-14.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 1352kB, size after compression: 1352kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match. 824 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/ustr-1.0.4/ustr-import-64 from /bin/sh -e to #!/usr/bin/sh -e mangling shebang in /usr/bin/ustr-import from /bin/sh -e to #!/usr/bin/sh -e Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.b1KYN7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ustr-1.0.4 + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 check 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' HIDE= cat T/ctst_0_cntl.c > ctst_0_cntl.c cat T/ctst_0_cntl.c > octst_0_cntl.c cat T/ctst_0_nothing.c > ctst_0_nothing.c cat T/ctst_0_nothing.c > octst_0_nothing.c cat T/ctst_3_medium.c > ctst_3_medium.c cat T/ctst_3_medium.c > octst_3_medium.c cat T/ctst_4_grow.c > ctst_4_grow.c cat T/ctst_4_grow.c > octst_4_grow.c cat T/ctst_5_shrink.c > ctst_5_shrink.c cat T/ctst_5_shrink.c > octst_5_shrink.c cat T/ctst_7_auto.c > ctst_7_auto.c cat T/ctst_7_auto.c > octst_7_auto.c cat T/ctst_8_spn.c > ctst_8_spn.c cat T/ctst_8_spn.c > octst_8_spn.c cat T/ctst_9_ins.c > ctst_9_ins.c cat T/ctst_9_ins.c > octst_9_ins.c cat T/ctst_10_b.c > ctst_10_b.c cat T/ctst_10_b.c > octst_10_b.c cat T/ctst_11_io.c > ctst_11_io.c cat T/ctst_11_io.c > octst_11_io.c cat T/ctst_12_fmt.c > ctst_12_fmt.c cat T/ctst_12_fmt.c > octst_12_fmt.c cat T/ctst_13_utf8.c > ctst_13_utf8.c cat T/ctst_13_utf8.c > octst_13_utf8.c cat T/ctst_14_cmp.c > ctst_14_cmp.c cat T/ctst_14_cmp.c > octst_14_cmp.c cat T/ctst_15_trim.c > ctst_15_trim.c cat T/ctst_15_trim.c > octst_15_trim.c cat T/ctst_16_parse.c > ctst_16_parse.c cat T/ctst_16_parse.c > octst_16_parse.c cat T/ctst_17_sub.c > ctst_17_sub.c cat T/ctst_17_sub.c > octst_17_sub.c cat T/ctst_18_split.c > ctst_18_split.c cat T/ctst_18_split.c > octst_18_split.c cat T/ctst_19_concat.c > ctst_19_concat.c cat T/ctst_19_concat.c > octst_19_concat.c cat T/ctst_19_join.c > ctst_19_join.c cat T/ctst_19_join.c > octst_19_join.c cat T/ctst_98_pool.c > ctst_98_pool.c cat T/ctst_98_pool.c > octst_98_pool.c cat T/ctst_99_enomem.c > ctst_99_enomem.c cat T/ctst_99_enomem.c > octst_99_enomem.c cat T/ctst_99_64bit.c > ctst_99_64bit.c cat T/ctst_99_64bit.c > octst_99_64bit.c cat T/tst_0_sizes.c T/ctst_0_sizes.c > tst_0_sizes.c cat T/tst_0_manual.c T/ctst_0_manual.c > tst_0_manual.c cat T/tst_0_sizes.c T/ctst_0_sizes.c > otst_0_sizes.c cat T/tst_0_manual.c T/ctst_0_manual.c > otst_0_manual.c cat T/tst_0_nothing.c T/ctst_0_nothing.c > tst_0_nothing.c cat T/tst_0_nothing.c T/ctst_0_nothing.c > otst_0_nothing.c cat T/tst_1_basic.c T/ctst_1_basic.c > tst_1_basic.c cat T/tst_1_basic.c T/ctst_1_basic.c > otst_1_basic.c cat T/tst_2_small.c T/ctst_2_small.c > tst_2_small.c cat T/tst_2_small.c T/ctst_2_small.c > otst_2_small.c cat T/tst_3_medium.c T/ctst_3_medium.c > tst_3_medium.c cat T/tst_3_medium.c T/ctst_3_medium.c > otst_3_medium.c cat T/tst_4_grow.c T/ctst_4_grow.c > tst_4_grow.c cat T/tst_4_grow.c T/ctst_4_grow.c > otst_4_grow.c cat T/tst_5_shrink.c T/ctst_5_shrink.c > tst_5_shrink.c cat T/tst_5_shrink.c T/ctst_5_shrink.c > otst_5_shrink.c cat T/tst_6_tiny.c T/ctst_6_tiny.c > tst_6_tiny.c cat T/tst_6_tiny.c T/ctst_6_tiny.c > otst_6_tiny.c cat T/tst_7_auto.c T/ctst_7_auto.c > tst_7_auto.c cat T/tst_7_auto.c T/ctst_7_auto.c > otst_7_auto.c cat T/tst_8_spn.c T/ctst_8_spn.c > tst_8_spn.c cat T/tst_8_spn.c T/ctst_8_spn.c > otst_8_spn.c cat T/tst_9_ins.c T/ctst_9_ins.c > tst_9_ins.c cat T/tst_9_ins.c T/ctst_9_ins.c > otst_9_ins.c cat T/tst_10_b.c T/ctst_10_b.c > tst_10_b.c cat T/tst_10_b.c T/ctst_10_b.c > otst_10_b.c cat T/tst_11_io.c T/ctst_11_io.c > tst_11_io.c cat T/tst_11_io.c T/ctst_11_io.c > otst_11_io.c cat T/tst_12_fmt.c T/ctst_12_fmt.c > tst_12_fmt.c cat T/tst_12_fmt.c T/ctst_12_fmt.c > otst_12_fmt.c cat T/tst_13_utf8.c T/ctst_13_utf8.c > tst_13_utf8.c cat T/tst_13_utf8.c T/ctst_13_utf8.c > otst_13_utf8.c cat T/tst_14_cmp.c T/ctst_14_cmp.c > tst_14_cmp.c cat T/tst_14_cmp.c T/ctst_14_cmp.c > otst_14_cmp.c cat T/tst_15_trim.c T/ctst_15_trim.c > tst_15_trim.c cat T/tst_15_trim.c T/ctst_15_trim.c > otst_15_trim.c cat T/tst_16_parse.c T/ctst_16_parse.c > tst_16_parse.c cat T/tst_16_parse.c T/ctst_16_parse.c > otst_16_parse.c cat T/tst_17_sub.c T/ctst_17_sub.c > tst_17_sub.c cat T/tst_17_sub.c T/ctst_17_sub.c > otst_17_sub.c cat T/tst_18_split.c T/ctst_18_split.c > tst_18_split.c cat T/tst_18_split.c T/ctst_18_split.c > otst_18_split.c cat T/tst_19_concat.c T/ctst_19_concat.c > tst_19_concat.c cat T/tst_19_concat.c T/ctst_19_concat.c > otst_19_concat.c cat T/tst_19_join.c T/ctst_19_join.c > tst_19_join.c cat T/tst_19_join.c T/ctst_19_join.c > otst_19_join.c cat T/tst_98_pool.c T/ctst_98_pool.c > tst_98_pool.c cat T/tst_98_pool.c T/ctst_98_pool.c > otst_98_pool.c cat T/tst_99_enomem.c T/ctst_99_enomem.c > tst_99_enomem.c cat T/tst_99_enomem.c T/ctst_99_enomem.c > otst_99_enomem.c cat T/tst_99_64bit.c T/ctst_99_64bit.c > tst_99_64bit.c cat T/tst_99_64bit.c T/ctst_99_64bit.c > otst_99_64bit.c echo "Compiling: " ctst_0_nothing.o Compiling: ctst_0_nothing.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_0_nothing.o -c ctst_0_nothing.c echo "Compiling:" octst_0_nothing.o Compiling: octst_0_nothing.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_0_nothing.o -c octst_0_nothing.c echo "Compiling: " ctst_0_cntl.o Compiling: ctst_0_cntl.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_0_cntl.o -c ctst_0_cntl.c echo "Compiling:" octst_0_cntl.o Compiling: octst_0_cntl.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_0_cntl.o -c octst_0_cntl.c echo "Compiling: " ctst_5_shrink.o Compiling: ctst_5_shrink.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_5_shrink.o -c ctst_5_shrink.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_5_shrink.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_5_shrink.c:1: ctst_5_shrink.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_5_shrink.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_5_shrink.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling:" octst_5_shrink.o Compiling: octst_5_shrink.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_5_shrink.o -c octst_5_shrink.c echo "Compiling: " ctst_8_spn.o Compiling: ctst_8_spn.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_8_spn.o -c ctst_8_spn.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_8_spn.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_8_spn.c:1: ctst_8_spn.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ echo "Compiling: " ctst_4_grow.o Compiling: ctst_4_grow.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_4_grow.o -c ctst_4_grow.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_4_grow.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_4_grow.c:1: ctst_4_grow.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_4_grow.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_4_grow.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_7_auto.o Compiling: ctst_7_auto.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_7_auto.o -c ctst_7_auto.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_7_auto.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_7_auto.c:1: ctst_7_auto.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_7_auto.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_7_auto.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling:" octst_8_spn.o Compiling: octst_8_spn.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_8_spn.o -c octst_8_spn.c echo "Compiling:" octst_4_grow.o Compiling: octst_4_grow.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_4_grow.o -c octst_4_grow.c echo "Compiling:" octst_7_auto.o Compiling: octst_7_auto.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_7_auto.o -c octst_7_auto.c echo "Compiling: " ctst_10_b.o Compiling: ctst_10_b.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_10_b.o -c ctst_10_b.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_10_b.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_10_b.c:1: ctst_10_b.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_10_b.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ echo "Compiling:" octst_10_b.o Compiling: octst_10_b.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_10_b.o -c octst_10_b.c echo "Compiling: " ctst_9_ins.o Compiling: ctst_9_ins.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_9_ins.o -c ctst_9_ins.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_9_ins.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_9_ins.c:1: ctst_9_ins.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_9_ins.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_9_ins.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_9_ins.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_9_ins.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_3_medium.o Compiling: ctst_3_medium.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_3_medium.o -c ctst_3_medium.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_3_medium.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_3_medium.c:1: ctst_3_medium.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_3_medium.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_3_medium.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_3_medium.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_3_medium.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_12_fmt.o Compiling: ctst_12_fmt.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_12_fmt.o -c ctst_12_fmt.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_12_fmt.c:14: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_12_fmt.c:14: ctst_12_fmt.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_12_fmt.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_12_fmt.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling:" octst_9_ins.o Compiling: octst_9_ins.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_9_ins.o -c octst_9_ins.c echo "Compiling: " ctst_13_utf8.o Compiling: ctst_13_utf8.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_13_utf8.o -c ctst_13_utf8.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_13_utf8.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_13_utf8.c:1: ctst_13_utf8.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_13_utf8.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_13_utf8.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_11_io.o Compiling: ctst_11_io.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_11_io.o -c ctst_11_io.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_11_io.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_11_io.c:1: ctst_11_io.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_11_io.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_11_io.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_14_cmp.o Compiling: ctst_14_cmp.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_14_cmp.o -c ctst_14_cmp.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_14_cmp.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_14_cmp.c:1: ctst_14_cmp.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_14_cmp.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_14_cmp.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_14_cmp.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_14_cmp.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling:" octst_13_utf8.o Compiling: octst_13_utf8.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_13_utf8.o -c octst_13_utf8.c echo "Compiling:" octst_3_medium.o Compiling: octst_3_medium.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_3_medium.o -c octst_3_medium.c echo "Compiling: " ctst_16_parse.o Compiling: ctst_16_parse.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_16_parse.o -c ctst_16_parse.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_16_parse.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_16_parse.c:1: ctst_16_parse.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ echo "Compiling:" octst_12_fmt.o Compiling: octst_12_fmt.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_12_fmt.o -c octst_12_fmt.c echo "Compiling:" octst_14_cmp.o Compiling: octst_14_cmp.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_14_cmp.o -c octst_14_cmp.c echo "Compiling:" octst_11_io.o Compiling: octst_11_io.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_11_io.o -c octst_11_io.c echo "Compiling:" octst_16_parse.o Compiling: octst_16_parse.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_16_parse.o -c octst_16_parse.c echo "Compiling: " ctst_15_trim.o Compiling: ctst_15_trim.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_15_trim.o -c ctst_15_trim.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_15_trim.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_15_trim.c:1: ctst_15_trim.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_15_trim.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_15_trim.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_19_concat.o Compiling: ctst_19_concat.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_19_concat.o -c ctst_19_concat.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_19_concat.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_19_concat.c:1: ctst_19_concat.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_19_concat.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_19_concat.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_18_split.o Compiling: ctst_18_split.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_18_split.o -c ctst_18_split.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_18_split.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_18_split.c:1: ctst_18_split.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_18_split.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_18_split.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " ctst_19_join.o Compiling: ctst_19_join.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_19_join.o -c ctst_19_join.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_19_join.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_19_join.c:1: ctst_19_join.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_19_join.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_19_join.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling:" octst_19_concat.o Compiling: octst_19_concat.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_19_concat.o -c octst_19_concat.c echo "Compiling:" octst_18_split.o Compiling: octst_18_split.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_18_split.o -c octst_18_split.c echo "Compiling:" octst_15_trim.o Compiling: octst_15_trim.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_15_trim.o -c octst_15_trim.c echo "Compiling:" octst_19_join.o Compiling: octst_19_join.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_19_join.o -c octst_19_join.c echo "Compiling: " ctst_99_64bit.o Compiling: ctst_99_64bit.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_99_64bit.o -c ctst_99_64bit.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_99_64bit.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_99_64bit.c:1: ctst_99_64bit.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_99_64bit.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ echo "Compiling:" octst_99_64bit.o Compiling: octst_99_64bit.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_99_64bit.o -c octst_99_64bit.c echo "Compiling: " tst_0_manual.o Compiling: tst_0_manual.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_0_manual.o -c tst_0_manual.c In file included from ustr-main.h:935, from tst_0_manual.c:5: ustr-main-code.h: In function 'ustrp__dupx_undef': ustr-main-code.h:676:16: warning: variable 'chk' set but not used [-Wunused-but-set-variable] 676 | struct Ustr *chk = USTR_NULL; | ^~~ ustr-main-code.h: In function 'ustrp__dupx_empty': ustr-main-code.h:1055:7: warning: variable 'eret' set but not used [-Wunused-but-set-variable] 1055 | int eret = USTR_FALSE; | ^~~~ In file included from ustr-sc.h:199, from tst_0_manual.c:20: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ echo "Compiling: " tst_0_sizes.o Compiling: tst_0_sizes.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_0_sizes.o -c tst_0_sizes.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_0_sizes.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_0_sizes.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_0_sizes.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_0_sizes.c:1: tst_0_sizes.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_0_sizes.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_0_sizes.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_0_sizes.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_0_sizes.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_0_sizes.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_0_manual.o Compiling: otst_0_manual.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_0_manual.o -c otst_0_manual.c echo "Compiling: " tst_0_nothing.o Compiling: tst_0_nothing.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_0_nothing.o -c tst_0_nothing.c In file included from ustr-main.h:935, from ustr.h:14, from tst_0_nothing.c:1: ustr-main-code.h: In function 'ustrp__dupx_undef': ustr-main-code.h:676:16: warning: variable 'chk' set but not used [-Wunused-but-set-variable] 676 | struct Ustr *chk = USTR_NULL; | ^~~ ustr-main-code.h: In function 'ustrp__dupx_empty': ustr-main-code.h:1055:7: warning: variable 'eret' set but not used [-Wunused-but-set-variable] 1055 | int eret = USTR_FALSE; | ^~~~ In file included from ustr-sc.h:199, from ustr.h:29, from tst_0_nothing.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ echo "Compiling: " otst_0_nothing.o Compiling: otst_0_nothing.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_0_nothing.o -c otst_0_nothing.c echo "Compiling: " otst_0_sizes.o Compiling: otst_0_sizes.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_0_sizes.o -c otst_0_sizes.c echo "Compiling: " ctst_17_sub.o Compiling: ctst_17_sub.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_17_sub.o -c ctst_17_sub.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_17_sub.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_17_sub.c:1: ctst_17_sub.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_17_sub.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_17_sub.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " tst_1_basic.o Compiling: tst_1_basic.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_1_basic.o -c tst_1_basic.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_1_basic.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_1_basic.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_1_basic.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_1_basic.c:3: tst_1_basic.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_1_basic.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_1_basic.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ echo "Compiling: " otst_1_basic.o Compiling: otst_1_basic.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_1_basic.o -c otst_1_basic.c echo "Compiling: " tst_2_small.o Compiling: tst_2_small.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_2_small.o -c tst_2_small.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_2_small.c:4: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_2_small.c:4: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_2_small.c:4: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_2_small.c:4: tst_2_small.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_2_small.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:111:3: note: in expansion of macro 'USTR_ASSERT' 111 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:202:3: note: in expansion of macro 'USTR_ASSERT' 202 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_2_small.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ echo "Compiling:" octst_17_sub.o Compiling: octst_17_sub.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_17_sub.o -c octst_17_sub.c echo "Compiling: " tst_3_medium.o Compiling: tst_3_medium.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_3_medium.o -c tst_3_medium.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_3_medium.c:5: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_3_medium.c:5: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_3_medium.c:5: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_3_medium.c:5: tst_3_medium.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_3_medium.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustr_sc_export_subustr': tst.h:6:10: warning: 'nonnull' argument 'my_alloc' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:269:3: note: in expansion of macro 'USTR_ASSERT' 269 | USTR_ASSERT(my_alloc); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-fmt-code.h:65:3: note: in expansion of macro 'USTR_ASSERT' 65 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:189:3: note: in expansion of macro 'USTR_ASSERT' 189 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_3_medium.c: In function 'ustrp__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:769:3: note: in expansion of macro 'USTR_ASSERT' 769 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_2_small.o Compiling: otst_2_small.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_2_small.o -c otst_2_small.c echo "Compiling: " tst_4_grow.o Compiling: tst_4_grow.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_4_grow.o -c tst_4_grow.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_4_grow.c:10: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_4_grow.c:10: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_4_grow.c:10: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_4_grow.c:10: tst_4_grow.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__assert_valid': tst_4_grow.c:9:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 9 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ In file included from tst_4_grow.c:10: tst_4_grow.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_4_grow.c: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-fmt-code.h:65:3: note: in expansion of macro 'USTR_ASSERT' 65 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_5_shrink.o Compiling: tst_5_shrink.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_5_shrink.o -c tst_5_shrink.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_5_shrink.c:6: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_5_shrink.c:6: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_5_shrink.c:6: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_5_shrink.c:6: tst_5_shrink.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_5_shrink.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__sc_free_shared': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:10:3: note: in expansion of macro 'USTR_ASSERT' 10 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_5_shrink.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_4_grow.o Compiling: otst_4_grow.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_4_grow.o -c otst_4_grow.c echo "Compiling: " otst_5_shrink.o Compiling: otst_5_shrink.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_5_shrink.o -c otst_5_shrink.c echo "Compiling: " otst_3_medium.o Compiling: otst_3_medium.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_3_medium.o -c otst_3_medium.c echo "Compiling: " tst_6_tiny.o Compiling: tst_6_tiny.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_6_tiny.o -c tst_6_tiny.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_6_tiny.c:4: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_6_tiny.c:4: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_6_tiny.c:4: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_6_tiny.c:4: tst_6_tiny.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_6_tiny.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_6_tiny.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ echo "Compiling: " otst_6_tiny.o Compiling: otst_6_tiny.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_6_tiny.o -c otst_6_tiny.c echo "Compiling: " ctst_98_pool.o Compiling: ctst_98_pool.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_98_pool.o -c ctst_98_pool.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_98_pool.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_98_pool.c:3: ctst_98_pool.c: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:823:3: note: in expansion of macro 'USTR_ASSERT' 823 | USTR_ASSERT(p); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:828:3: note: in expansion of macro 'USTR_ASSERT' 828 | USTR_ASSERT(p); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_98_pool.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " tst_8_spn.o Compiling: tst_8_spn.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_8_spn.o -c tst_8_spn.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_8_spn.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_8_spn.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_8_spn.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_8_spn.c:3: tst_8_spn.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_8_spn.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:111:3: note: in expansion of macro 'USTR_ASSERT' 111 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:202:3: note: in expansion of macro 'USTR_ASSERT' 202 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_8_spn.c: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:152:3: note: in expansion of macro 'USTR_ASSERT' 152 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_8_spn.o Compiling: otst_8_spn.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_8_spn.o -c otst_8_spn.c echo "Compiling: " tst_7_auto.o Compiling: tst_7_auto.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_7_auto.o -c tst_7_auto.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_7_auto.c:4: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_7_auto.c:4: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_7_auto.c:4: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_7_auto.c:4: tst_7_auto.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_7_auto.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:51:3: note: in expansion of macro 'USTR_ASSERT' 51 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_7_auto.c: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:240:3: note: in expansion of macro 'USTR_ASSERT' 240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " ctst_99_enomem.o Compiling: ctst_99_enomem.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -o ctst_99_enomem.o -c ctst_99_enomem.c In file included from ustr-debug.h:14, from tst.h:71, from ctst_99_enomem.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ctst_99_enomem.c:1: ctst_99_enomem.c: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:823:3: note: in expansion of macro 'USTR_ASSERT' 823 | USTR_ASSERT(p); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:828:3: note: in expansion of macro 'USTR_ASSERT' 828 | USTR_ASSERT(p); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ ctst_99_enomem.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ echo "Compiling: " tst_9_ins.o Compiling: tst_9_ins.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_9_ins.o -c tst_9_ins.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_9_ins.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_9_ins.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_9_ins.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_9_ins.c:1: tst_9_ins.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_9_ins.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1397:3: note: in expansion of macro 'USTR_ASSERT' 1397 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_9_ins.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_9_ins.o Compiling: otst_9_ins.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_9_ins.o -c otst_9_ins.c echo "Compiling: " otst_7_auto.o Compiling: otst_7_auto.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_7_auto.o -c otst_7_auto.c echo "Compiling: " tst_10_b.o Compiling: tst_10_b.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_10_b.o -c tst_10_b.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_10_b.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_10_b.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_10_b.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_10_b.c:3: tst_10_b.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_10_b.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_10_b.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_10_b.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_10_b.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_10_b.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_10_b.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_12_fmt.o Compiling: tst_12_fmt.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_12_fmt.o -c tst_12_fmt.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_12_fmt.c:16: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_12_fmt.c:16: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_12_fmt.c:16: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_12_fmt.c:16: tst_12_fmt.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_12_fmt.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-fmt-code.h:65:3: note: in expansion of macro 'USTR_ASSERT' 65 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:189:3: note: in expansion of macro 'USTR_ASSERT' 189 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:63:3: note: in expansion of macro 'USTR_ASSERT' 63 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_12_fmt.c: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:152:3: note: in expansion of macro 'USTR_ASSERT' 152 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_11_io.o Compiling: tst_11_io.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_11_io.o -c tst_11_io.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_11_io.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_11_io.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_11_io.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_11_io.c:3: tst_11_io.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_11_io.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__io_put': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-code.h:187:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__io_getdelim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-io-code.h:126:3: note: in expansion of macro 'USTR_ASSERT' 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-code.h:126:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-io-code.h:126:3: note: in expansion of macro 'USTR_ASSERT' 126 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ tst_11_io.c: In function 'ustrp__io_get': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-code.h:14:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ echo "Compiling: " otst_10_b.o Compiling: otst_10_b.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_10_b.o -c otst_10_b.c echo "Compiling: " otst_12_fmt.o Compiling: otst_12_fmt.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_12_fmt.o -c otst_12_fmt.c echo "Compiling: " otst_11_io.o Compiling: otst_11_io.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_11_io.o -c otst_11_io.c echo "Compiling: " tst_13_utf8.o Compiling: tst_13_utf8.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_13_utf8.o -c tst_13_utf8.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_13_utf8.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_13_utf8.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_13_utf8.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from ustr-parse.h:79, from ustr-debug.h:20, from tst.h:71, from tst_13_utf8.c:3: ustr-parse-code.h: In function 'ustr__parse_num_beg': ustr-parse-code.h:54:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | *tst_neg = USTR_TRUE; ustr-parse-code.h:55:7: note: here 55 | case '+': | ^~~~ In file included from tst_13_utf8.c:3: tst_13_utf8.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:202:3: note: in expansion of macro 'USTR_ASSERT' 202 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustrp__sc_utf8_reverse': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:140:3: note: in expansion of macro 'USTR_ASSERT' 140 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_13_utf8.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_14_cmp.o Compiling: tst_14_cmp.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_14_cmp.o -c tst_14_cmp.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_14_cmp.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_14_cmp.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_14_cmp.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_14_cmp.c:3: tst_14_cmp.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_case_prefix_buf_eq': ustr-cmp-code.h:125:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:125:3: note: in expansion of macro 'USTR_ASSERT' 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_case_suffix_buf_eq': ustr-cmp-code.h:139:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:139:3: note: in expansion of macro 'USTR_ASSERT' 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_case_buf': ustr-cmp-code.h:85:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:85:3: note: in expansion of macro 'USTR_ASSERT' 85 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_buf': ustr-cmp-code.h:15:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp-code.h:15:3: note: in expansion of macro 'USTR_ASSERT' 15 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_14_cmp.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_15_trim.o Compiling: tst_15_trim.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_15_trim.o -c tst_15_trim.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_15_trim.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_15_trim.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_15_trim.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_15_trim.c:3: tst_15_trim.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_15_trim.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:111:3: note: in expansion of macro 'USTR_ASSERT' 111 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_15_trim.c: In function 'ustrp__sc_trim_chrs': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:326:3: note: in expansion of macro 'USTR_ASSERT' 326 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_14_cmp.o Compiling: otst_14_cmp.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_14_cmp.o -c otst_14_cmp.c echo "Compiling: " tst_16_parse.o Compiling: tst_16_parse.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_16_parse.o -c tst_16_parse.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_16_parse.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_16_parse.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_16_parse.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from ustr-parse.h:79, from ustr-debug.h:20, from tst.h:71, from tst_16_parse.c:3: ustr-parse-code.h: In function 'ustr__parse_num_beg': ustr-parse-code.h:54:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | *tst_neg = USTR_TRUE; ustr-parse-code.h:55:7: note: here 55 | case '+': | ^~~~ In file included from tst_16_parse.c:3: tst_16_parse.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_16_parse.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_16_parse.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_16_parse.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_16_parse.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_16_parse.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_13_utf8.o Compiling: otst_13_utf8.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_13_utf8.o -c otst_13_utf8.c echo "Compiling: " otst_15_trim.o Compiling: otst_15_trim.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_15_trim.o -c otst_15_trim.c echo "Compiling: " otst_16_parse.o Compiling: otst_16_parse.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_16_parse.o -c otst_16_parse.c echo "Compiling: " tst_19_concat.o Compiling: tst_19_concat.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_19_concat.o -c tst_19_concat.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_19_concat.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_19_concat.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_19_concat.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_19_concat.c:1: tst_19_concat.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_19_concat.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_19_concat.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_19_concat.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_19_concat.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_19_concat.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_19_concat.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_19_concat.o Compiling: otst_19_concat.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_19_concat.o -c otst_19_concat.c echo "Compiling:" octst_98_pool.o Compiling: octst_98_pool.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_98_pool.o -c octst_98_pool.c echo "Compiling: " tst_18_split.o Compiling: tst_18_split.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_18_split.o -c tst_18_split.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_18_split.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_18_split.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_18_split.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_18_split.c:1: tst_18_split.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_18_split.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_18_split.c: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:152:3: note: in expansion of macro 'USTR_ASSERT' 152 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_17_sub.o Compiling: tst_17_sub.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_17_sub.o -c tst_17_sub.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_17_sub.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_17_sub.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_17_sub.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_17_sub.c:1: tst_17_sub.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_17_sub.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1397:3: note: in expansion of macro 'USTR_ASSERT' 1397 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:257:5: note: in expansion of macro 'USTR_ASSERT' 257 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:51:3: note: in expansion of macro 'USTR_ASSERT' 51 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_17_sub.c: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:240:3: note: in expansion of macro 'USTR_ASSERT' 240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " tst_19_join.o Compiling: tst_19_join.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_19_join.o -c tst_19_join.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_19_join.c:1: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_19_join.c:1: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_19_join.c:1: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_19_join.c:1: tst_19_join.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_19_join.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_19_join.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_19_join.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_19_join.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_19_join.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_19_join.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ echo "Compiling: " otst_19_join.o Compiling: otst_19_join.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_19_join.o -c otst_19_join.c echo "Compiling:" octst_99_enomem.o Compiling: octst_99_enomem.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -o octst_99_enomem.o -c octst_99_enomem.c echo "Compiling: " otst_18_split.o Compiling: otst_18_split.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_18_split.o -c otst_18_split.c cc -o ctst_0_cntl ctst_0_cntl.o libustr-debug.a cc -o octst_0_cntl octst_0_cntl.o libustr.a cc -o ctst_0_nothing ctst_0_nothing.o libustr-debug.a cc -o octst_0_nothing octst_0_nothing.o libustr.a cc -o ctst_3_medium ctst_3_medium.o libustr-debug.a cc -o octst_3_medium octst_3_medium.o libustr.a cc -o ctst_4_grow ctst_4_grow.o libustr-debug.a cc -o octst_4_grow octst_4_grow.o libustr.a cc -o ctst_5_shrink ctst_5_shrink.o libustr-debug.a cc -o octst_5_shrink octst_5_shrink.o libustr.a cc -o ctst_7_auto ctst_7_auto.o libustr-debug.a echo "Compiling: " otst_17_sub.o Compiling: otst_17_sub.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_17_sub.o -c otst_17_sub.c cc -o octst_7_auto octst_7_auto.o libustr.a cc -o ctst_8_spn ctst_8_spn.o libustr-debug.a cc -o octst_8_spn octst_8_spn.o libustr.a cc -o ctst_9_ins ctst_9_ins.o libustr-debug.a cc -o octst_9_ins octst_9_ins.o libustr.a cc -o ctst_10_b ctst_10_b.o libustr-debug.a cc -o octst_10_b octst_10_b.o libustr.a cc -o ctst_11_io ctst_11_io.o libustr-debug.a cc -o octst_11_io octst_11_io.o libustr.a cc -o ctst_12_fmt ctst_12_fmt.o libustr-debug.a cc -o octst_12_fmt octst_12_fmt.o libustr.a cc -o ctst_13_utf8 ctst_13_utf8.o libustr-debug.a cc -o octst_13_utf8 octst_13_utf8.o libustr.a cc -o ctst_14_cmp ctst_14_cmp.o libustr-debug.a cc -o octst_14_cmp octst_14_cmp.o libustr.a cc -o ctst_15_trim ctst_15_trim.o libustr-debug.a cc -o octst_15_trim octst_15_trim.o libustr.a cc -o ctst_16_parse ctst_16_parse.o libustr-debug.a cc -o octst_16_parse octst_16_parse.o libustr.a cc -o ctst_17_sub ctst_17_sub.o libustr-debug.a cc -o octst_17_sub octst_17_sub.o libustr.a cc -o ctst_18_split ctst_18_split.o libustr-debug.a cc -o octst_18_split octst_18_split.o libustr.a cc -o ctst_19_concat ctst_19_concat.o libustr-debug.a cc -o octst_19_concat octst_19_concat.o libustr.a cc -o ctst_19_join ctst_19_join.o libustr-debug.a cc -o octst_19_join octst_19_join.o libustr.a cc -o ctst_98_pool ctst_98_pool.o libustr-debug.a cc -o octst_98_pool octst_98_pool.o libustr.a cc -o octst_99_enomem octst_99_enomem.o libustr.a cc -o ctst_99_enomem ctst_99_enomem.o libustr-debug.a cc -o octst_99_64bit octst_99_64bit.o libustr.a cc -o ctst_99_64bit ctst_99_64bit.o libustr-debug.a cc -o tst_0_sizes tst_0_sizes.o cc -o tst_0_manual tst_0_manual.o cc -o otst_0_sizes otst_0_sizes.o cc -o otst_0_manual otst_0_manual.o cc -o tst_0_nothing tst_0_nothing.o cc -o otst_0_nothing otst_0_nothing.o cc -o otst_1_basic otst_1_basic.o cc -o tst_1_basic tst_1_basic.o echo "Compiling: " tst_99_64bit.o Compiling: tst_99_64bit.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_99_64bit.o -c tst_99_64bit.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_99_64bit.c:4: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_99_64bit.c:4: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_99_64bit.c:4: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_99_64bit.c:4: tst_99_64bit.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_99_64bit.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:51:3: note: in expansion of macro 'USTR_ASSERT' 51 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_64bit.c: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:240:3: note: in expansion of macro 'USTR_ASSERT' 240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ cc -o otst_2_small otst_2_small.o cc -o tst_2_small tst_2_small.o cc -o tst_3_medium tst_3_medium.o cc -o tst_4_grow tst_4_grow.o cc -o otst_3_medium otst_3_medium.o cc -o otst_4_grow otst_4_grow.o cc -o tst_5_shrink tst_5_shrink.o cc -o otst_5_shrink otst_5_shrink.o cc -o tst_6_tiny tst_6_tiny.o cc -o otst_6_tiny otst_6_tiny.o cc -o tst_7_auto tst_7_auto.o cc -o otst_7_auto otst_7_auto.o cc -o otst_8_spn otst_8_spn.o cc -o tst_8_spn tst_8_spn.o cc -o tst_9_ins tst_9_ins.o cc -o otst_9_ins otst_9_ins.o cc -o tst_10_b tst_10_b.o cc -o otst_10_b otst_10_b.o cc -o tst_11_io tst_11_io.o cc -o otst_11_io otst_11_io.o cc -o tst_12_fmt tst_12_fmt.o cc -o otst_12_fmt otst_12_fmt.o cc -o tst_13_utf8 tst_13_utf8.o cc -o otst_13_utf8 otst_13_utf8.o cc -o tst_14_cmp tst_14_cmp.o cc -o otst_14_cmp otst_14_cmp.o cc -o tst_15_trim tst_15_trim.o cc -o otst_15_trim otst_15_trim.o cc -o tst_16_parse tst_16_parse.o cc -o otst_16_parse otst_16_parse.o cc -o tst_17_sub tst_17_sub.o cc -o otst_17_sub otst_17_sub.o cc -o tst_18_split tst_18_split.o cc -o otst_18_split otst_18_split.o cc -o otst_19_concat otst_19_concat.o cc -o tst_19_concat tst_19_concat.o cc -o tst_19_join tst_19_join.o cc -o otst_19_join otst_19_join.o cc -o tst_99_64bit tst_99_64bit.o echo "Compiling: " otst_99_64bit.o Compiling: otst_99_64bit.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_99_64bit.o -c otst_99_64bit.c cc -o otst_99_64bit otst_99_64bit.o echo "Compiling: " tst_99_enomem.o Compiling: tst_99_enomem.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_99_enomem.o -c tst_99_enomem.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_99_enomem.c:3: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_99_enomem.c:3: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_99_enomem.c:3: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_99_enomem.c:3: tst_99_enomem.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:823:3: note: in expansion of macro 'USTR_ASSERT' 823 | USTR_ASSERT(p); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:828:3: note: in expansion of macro 'USTR_ASSERT' 828 | USTR_ASSERT(p); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_utf8_reverse': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:140:3: note: in expansion of macro 'USTR_ASSERT' 140 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1469:3: note: in expansion of macro 'USTR_ASSERT' 1469 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_free_shared': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sc-code.h:10:3: note: in expansion of macro 'USTR_ASSERT' 10 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-fmt-code.h:65:3: note: in expansion of macro 'USTR_ASSERT' 65 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1397:3: note: in expansion of macro 'USTR_ASSERT' 1397 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:189:3: note: in expansion of macro 'USTR_ASSERT' 189 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:152:3: note: in expansion of macro 'USTR_ASSERT' 152 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:257:5: note: in expansion of macro 'USTR_ASSERT' 257 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:63:3: note: in expansion of macro 'USTR_ASSERT' 63 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__io_put': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-code.h:187:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-io-code.h:187:3: note: in expansion of macro 'USTR_ASSERT' 187 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__io_get': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ ustr-io-code.h:14:53: warning: 'nonnull' argument 'fp' compared to NULL [-Wnonnull-compare] 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-io-code.h:14:3: note: in expansion of macro 'USTR_ASSERT' 14 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:51:3: note: in expansion of macro 'USTR_ASSERT' 51 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:240:3: note: in expansion of macro 'USTR_ASSERT' 240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_99_enomem.c: In function 'ustrp__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:769:3: note: in expansion of macro 'USTR_ASSERT' 769 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ cc -o tst_99_enomem tst_99_enomem.o echo "Compiling: " tst_98_pool.o Compiling: tst_98_pool.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -O1 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o tst_98_pool.o -c tst_98_pool.c In file included from ustr-sc.h:199, from ustr-debug.h:29, from tst.h:71, from tst_98_pool.c:6: ustr-sc-code.h: In function 'ustrp__sc_tolower': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_toupper': ustr-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ In file included from ustr-debug.h:14, from tst.h:71, from tst_98_pool.c:6: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from tst_98_pool.c:6: ustr-main-code.h: In function 'ustr__ref_add': ustr-main-code.h:327:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | case 8: if (!lim) lim = 0xFFFFFFFFFFFFFFFFULL; | ^ ustr-main-code.h:329:5: note: here 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^~~~ ustr-main-code.h:329:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | case 4: if (!lim) lim = 0xFFFFFFFFUL; | ^ ustr-main-code.h:330:5: note: here 330 | case 2: if (!lim) lim = 0xFFFF; | ^~~~ ustr-main-code.h:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | case 2: if (!lim) lim = 0xFFFF; | ^ ustr-main-code.h:331:5: note: here 331 | case 1: if (!lim) lim = 0xFF; | ^~~~ ustr-main-code.h: In function 'ustr__embed_val_set': ustr-main-code.h:233:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | data[4] = (val >> 32) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:235:5: note: here 235 | case 4: | ^~~~ ustr-main-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:238:5: note: here 238 | case 2: | ^~~~ ustr-main-code.h:239:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 239 | data[1] = (val >> 8) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ustr-main-code.h:240:5: note: here 240 | case 1: | ^~~~ ustr-main-code.h: In function 'ustr_owner': ustr-main-code.h:184:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | if (s1->data[5]) return (USTR_FALSE); | ^ ustr-main-code.h:186:5: note: here 186 | case 4: if (s1->data[4]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:187:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 187 | if (s1->data[3]) return (USTR_FALSE); | ^ ustr-main-code.h:188:5: note: here 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^~~~ ustr-main-code.h:188:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | case 2: if (s1->data[2]) return (USTR_FALSE); | ^ ustr-main-code.h:190:5: note: here 190 | case 1: return (s1->data[1] == 1); | ^~~~ In file included from tst_98_pool.c:6: tst_98_pool.c: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:906:3: note: in expansion of macro 'USTR_ASSERT' 906 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:918:3: note: in expansion of macro 'USTR_ASSERT' 918 | USTR_ASSERT(s1); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:45:32: note: in expansion of macro 'assert' 45 | # define USTR_ASSERT_RET(x, y) assert(x) | ^~~~~~ ustr-main-code.h:66:3: note: in expansion of macro 'USTR_ASSERT_RET' 66 | USTR_ASSERT_RET(s1, USTR_FALSE); | ^~~~~~~~~~~~~~~ tst_98_pool.c: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:823:3: note: in expansion of macro 'USTR_ASSERT' 823 | USTR_ASSERT(p); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main.h:828:3: note: in expansion of macro 'USTR_ASSERT' 828 | USTR_ASSERT(p); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:548:3: note: in expansion of macro 'USTR_ASSERT' 548 | USTR_ASSERT(data); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:77:3: note: in expansion of macro 'USTR_ASSERT' 77 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:111:3: note: in expansion of macro 'USTR_ASSERT' 111 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:168:3: note: in expansion of macro 'USTR_ASSERT' 168 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-spn-code.h:202:3: note: in expansion of macro 'USTR_ASSERT' 202 | USTR_ASSERT(chrs); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cmp_fast_buf': ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cmp_prefix_buf_eq': ustr-cmp.h:179:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:179:3: note: in expansion of macro 'USTR_ASSERT' 179 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustr_cmp_suffix_buf_eq': ustr-cmp.h:192:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tst.h:6:11: note: in definition of macro 'assert' 6 | if (x) {} else { \ | ^ ustr-cmp.h:192:3: note: in expansion of macro 'USTR_ASSERT' 192 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:442:3: note: in expansion of macro 'USTR_ASSERT' 442 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1549:3: note: in expansion of macro 'USTR_ASSERT' 1549 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1240:3: note: in expansion of macro 'USTR_ASSERT' 1240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1340:3: note: in expansion of macro 'USTR_ASSERT' 1340 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:1397:3: note: in expansion of macro 'USTR_ASSERT' 1397 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-ins-code.h:22:3: note: in expansion of macro 'USTR_ASSERT' 22 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:12:3: note: in expansion of macro 'USTR_ASSERT' 12 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:882:3: note: in expansion of macro 'USTR_ASSERT' 882 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:19:3: note: in expansion of macro 'USTR_ASSERT' 19 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:189:3: note: in expansion of macro 'USTR_ASSERT' 189 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:90:3: note: in expansion of macro 'USTR_ASSERT' 90 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:117:3: note: in expansion of macro 'USTR_ASSERT' 117 | USTR_ASSERT(ps1 && | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:63:3: note: in expansion of macro 'USTR_ASSERT' 63 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:975:3: note: in expansion of macro 'USTR_ASSERT' 975 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-set-code.h:152:3: note: in expansion of macro 'USTR_ASSERT' 152 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:164:3: note: in expansion of macro 'USTR_ASSERT' 164 | USTR_ASSERT(ps1); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-sub-code.h:257:5: note: in expansion of macro 'USTR_ASSERT' 257 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:51:3: note: in expansion of macro 'USTR_ASSERT' 51 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-replace-code.h:240:3: note: in expansion of macro 'USTR_ASSERT' 240 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ tst_98_pool.c: In function 'ustrp__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:39:32: note: in expansion of macro 'assert' 39 | # define USTR_ASSERT(x) assert(x) | ^~~~~~ ustr-main-code.h:769:3: note: in expansion of macro 'USTR_ASSERT' 769 | USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1)); | ^~~~~~~~~~~ cc -o tst_98_pool tst_98_pool.o echo "Compiling: " otst_99_enomem.o Compiling: otst_99_enomem.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_99_enomem.o -c otst_99_enomem.c In file included from ustr-fmt.h:100, from ustr-debug.h:17, from tst.h:71, from otst_99_enomem.c:3: ustr-fmt-code.h: In function 'ustrp__dupx_vfmt_lim.constprop': ustr-fmt-code.h:164:14: warning: '%.500d' directive output truncated writing between 500 and 501 bytes into a region of size 128 [-Wformat-truncation=] 164 | struct Ustr *ustrp__dupx_vfmt_lim(struct Ustr_pool *p, size_t sz, size_t rbytes, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from malloc-check.h:108, from tst.h:55, from otst_99_enomem.c:3: /usr/include/bits/stdio2.h:85:10: note: '__builtin___vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 85 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ustr-fmt.h:100, from ustr-debug.h:17, from tst.h:71, from otst_99_enomem.c:3: ustr-fmt-code.h: In function 'ustrp__add_vfmt_lim.constprop': ustr-fmt-code.h:54:5: warning: '%.500d' directive output truncated writing between 500 and 501 bytes into a region of size 128 [-Wformat-truncation=] 54 | int ustrp__add_vfmt_lim(struct Ustr_pool *p, struct Ustr **ps1, size_t lim, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from malloc-check.h:108, from tst.h:55, from otst_99_enomem.c:3: /usr/include/bits/stdio2.h:85:10: note: '__builtin___vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 85 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ustr-set.h:89, from ustr-debug.h:22, from tst.h:71, from otst_99_enomem.c:3: ustr-set-code.h: In function 'ustrp__set_vfmt_lim.constprop': ustr-set-code.h:214:5: warning: '%.500d' directive output truncated writing between 500 and 501 bytes into a region of size 128 [-Wformat-truncation=] 214 | int ustrp__set_vfmt_lim(struct Ustr_pool *p, struct Ustr **ps1, size_t lim, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from malloc-check.h:108, from tst.h:55, from otst_99_enomem.c:3: /usr/include/bits/stdio2.h:85:10: note: '__builtin___vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 85 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o otst_99_enomem otst_99_enomem.o echo "Compiling: " otst_98_pool.o Compiling: otst_98_pool.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DUSTR_DEBUG=0 -DUSTR_CONF_INCLUDE_CODEONLY_HEADERS=1 -DUSTR_CONF_REF_BYTES=4 -o otst_98_pool.o -c otst_98_pool.c In file included from ustr-fmt.h:100, from ustr-debug.h:17, from tst.h:71, from otst_98_pool.c:6: ustr-fmt-code.h: In function 'ustrp__dupx_vfmt_lim.constprop': ustr-fmt-code.h:164:14: warning: '%.5000x' directive output truncated writing 5000 bytes into a region of size 128 [-Wformat-truncation=] 164 | struct Ustr *ustrp__dupx_vfmt_lim(struct Ustr_pool *p, size_t sz, size_t rbytes, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from malloc-check.h:108, from tst.h:55, from otst_98_pool.c:6: /usr/include/bits/stdio2.h:85:10: note: '__builtin___vsnprintf_chk' output 5001 bytes into a destination of size 128 85 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o otst_98_pool otst_98_pool.o failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ list=' ctst_0_cntl octst_0_cntl ctst_0_nothing octst_0_nothing ctst_3_medium octst_3_medium ctst_4_grow octst_4_grow ctst_5_shrink octst_5_shrink ctst_7_auto octst_7_auto ctst_8_spn octst_8_spn ctst_9_ins octst_9_ins ctst_10_b octst_10_b ctst_11_io octst_11_io ctst_12_fmt octst_12_fmt ctst_13_utf8 octst_13_utf8 ctst_14_cmp octst_14_cmp ctst_15_trim octst_15_trim ctst_16_parse octst_16_parse ctst_17_sub octst_17_sub ctst_18_split octst_18_split ctst_19_concat octst_19_concat ctst_19_join octst_19_join ctst_98_pool octst_98_pool ctst_99_enomem octst_99_enomem ctst_99_64bit octst_99_64bit tst_0_sizes tst_0_manual otst_0_sizes otst_0_manual tst_0_nothing otst_0_nothing tst_1_basic otst_1_basic tst_2_small otst_2_small tst_3_medium otst_3_medium tst_4_grow otst_4_grow tst_5_shrink otst_5_shrink tst_6_tiny otst_6_tiny tst_7_auto otst_7_auto tst_8_spn otst_8_spn tst_9_ins otst_9_ins tst_10_b otst_10_b tst_11_io otst_11_io tst_12_fmt otst_12_fmt tst_13_utf8 otst_13_utf8 tst_14_cmp otst_14_cmp tst_15_trim otst_15_trim tst_16_parse otst_16_parse tst_17_sub otst_17_sub tst_18_split otst_18_split tst_19_concat otst_19_concat tst_19_join otst_19_join tst_98_pool otst_98_pool tst_99_enomem otst_99_enomem tst_99_64bit otst_99_64bit '; \ if test -n "$list"; then \ for tst in $list; do \ if ./$tst; then \ all=`expr $all + 1`; \ case " " in \ *$ws$tst$ws*) \ xpass=`expr $xpass + 1`; \ failed=`expr $failed + 1`; \ echo "XPASS: $tst"; \ ;; \ *) \ echo "PASS: $tst"; \ ;; \ esac; \ elif test $? -ne 77; then \ all=`expr $all + 1`; \ case " " in \ *$ws$tst$ws*) \ xfail=`expr $xfail + 1`; \ echo "XFAIL: $tst"; \ ;; \ *) \ failed=`expr $failed + 1`; \ echo "FAIL: $tst"; \ ;; \ esac; \ else \ skip=`expr $skip + 1`; \ echo "SKIP: $tst"; \ fi; \ done; \ if test "$failed" -eq 0; then \ if test "$xfail" -eq 0; then \ banner="All $all tests passed"; \ else \ banner="All $all tests behaved as expected ($xfail expected failures)"; \ fi; \ else \ if test "$xpass" -eq 0; then \ banner="$failed of $all tests failed"; \ else \ banner="$failed of $all tests did not behave as expected ($xpass unexpected passes)"; \ fi; \ fi; \ dashes="$banner"; \ skipped=""; \ if test "$skip" -ne 0; then \ skipped="($skip tests were not run)"; \ test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \ dashes="$skipped"; \ fi; \ report=""; \ if test "$failed" -ne 0 && test -n ""james@and.org""; then \ report="Please report to "james@and.org""; \ test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \ dashes="$report"; \ fi; \ dashes=`echo "$dashes" | sed s/./=/g`; \ echo "$dashes"; \ echo "$banner"; \ test -z "$skipped" || echo "$skipped"; \ test -z "$report" || echo "$report"; \ echo "$dashes"; \ test "$failed" -eq 0; \ else :; fi PASS: ctst_0_cntl PASS: octst_0_cntl PASS: ctst_0_nothing PASS: octst_0_nothing PASS: ctst_3_medium PASS: octst_3_medium PASS: ctst_4_grow PASS: octst_4_grow PASS: ctst_5_shrink PASS: octst_5_shrink PASS: ctst_7_auto PASS: octst_7_auto PASS: ctst_8_spn PASS: octst_8_spn PASS: ctst_9_ins PASS: octst_9_ins PASS: ctst_10_b PASS: octst_10_b PASS: ctst_11_io PASS: octst_11_io PASS: ctst_12_fmt PASS: octst_12_fmt PASS: ctst_13_utf8 PASS: octst_13_utf8 PASS: ctst_14_cmp PASS: octst_14_cmp PASS: ctst_15_trim PASS: octst_15_trim PASS: ctst_16_parse PASS: octst_16_parse PASS: ctst_17_sub PASS: octst_17_sub PASS: ctst_18_split PASS: octst_18_split PASS: ctst_19_concat PASS: octst_19_concat PASS: ctst_19_join PASS: octst_19_join PASS: ctst_98_pool PASS: octst_98_pool PASS: ctst_99_enomem PASS: octst_99_enomem PASS: ctst_99_64bit PASS: octst_99_64bit PASS: tst_0_sizes PASS: tst_0_manual PASS: otst_0_sizes PASS: otst_0_manual PASS: tst_0_nothing PASS: otst_0_nothing PASS: tst_1_basic PASS: otst_1_basic PASS: tst_2_small PASS: otst_2_small PASS: tst_3_medium PASS: otst_3_medium PASS: tst_4_grow PASS: otst_4_grow PASS: tst_5_shrink PASS: otst_5_shrink PASS: tst_6_tiny PASS: otst_6_tiny PASS: tst_7_auto PASS: otst_7_auto PASS: tst_8_spn PASS: otst_8_spn PASS: tst_9_ins PASS: otst_9_ins PASS: tst_10_b PASS: otst_10_b PASS: tst_11_io PASS: otst_11_io PASS: tst_12_fmt PASS: otst_12_fmt PASS: tst_13_utf8 PASS: otst_13_utf8 PASS: tst_14_cmp PASS: otst_14_cmp PASS: tst_15_trim PASS: otst_15_trim PASS: tst_16_parse PASS: otst_16_parse PASS: tst_17_sub PASS: otst_17_sub PASS: tst_18_split PASS: otst_18_split PASS: tst_19_concat PASS: otst_19_concat PASS: tst_19_join PASS: otst_19_join PASS: tst_98_pool PASS: otst_98_pool PASS: tst_99_enomem PASS: otst_99_enomem PASS: tst_99_64bit PASS: otst_99_64bit =================== All 96 tests passed =================== rm otst_1_basic.o octst_16_parse.o ctst_19_concat.o otst_0_sizes.o otst_2_small.o tst_19_join.c octst_3_medium.c ctst_99_64bit.o tst_0_nothing.c tst_7_auto.o ctst_98_pool.c otst_4_grow.o otst_98_pool.o ctst_8_spn.c tst_16_parse.c tst_6_tiny.o otst_11_io.o tst_17_sub.c ctst_19_join.o otst_5_shrink.o tst_8_spn.o ctst_16_parse.c tst_9_ins.c ctst_15_trim.o octst_8_spn.c octst_7_auto.o octst_11_io.o otst_0_nothing.c ctst_17_sub.c octst_0_nothing.c tst_2_small.c tst_12_fmt.c tst_15_trim.o tst_0_sizes.c tst_5_shrink.o ctst_12_fmt.c octst_99_enomem.o octst_17_sub.o otst_8_spn.c octst_99_64bit.o octst_18_split.c octst_19_join.o octst_99_64bit.c ctst_0_cntl.c tst_4_grow.c otst_0_sizes.c ctst_16_parse.o octst_19_concat.c tst_16_parse.o otst_0_manual.o tst_0_manual.o otst_19_concat.c ctst_19_concat.c otst_9_ins.o ctst_14_cmp.o tst_14_cmp.c ctst_15_trim.c octst_15_trim.o tst_6_tiny.c ctst_9_ins.c otst_13_utf8.o tst_18_split.o ctst_99_enomem.o tst_98_pool.o octst_19_join.c otst_15_trim.o otst_99_enomem.c otst_2_small.c octst_9_ins.c tst_17_sub.o ctst_11_io.c octst_10_b.o tst_10_b.o tst_8_spn.c otst_4_grow.c ctst_3_medium.o ctst_18_split.c ctst_9_ins.o ctst_18_split.o otst_8_spn.o ctst_10_b.c otst_98_pool.c ctst_11_io.o ctst_98_pool.o octst_12_fmt.c ctst_13_utf8.c tst_0_nothing.o otst_99_64bit.c ctst_0_cntl.o otst_5_shrink.c tst_18_split.c tst_99_64bit.o octst_16_parse.c tst_9_ins.o ctst_17_sub.o otst_10_b.c otst_17_sub.c tst_19_concat.c tst_11_io.o otst_12_fmt.c otst_11_io.c ctst_8_spn.o tst_1_basic.o tst_99_enomem.o tst_0_sizes.o otst_6_tiny.c otst_7_auto.o tst_15_trim.c octst_13_utf8.o octst_14_cmp.c tst_3_medium.c tst_99_64bit.c ctst_4_grow.c octst_0_cntl.c octst_12_fmt.o octst_18_split.o ctst_3_medium.c tst_12_fmt.o otst_7_auto.c tst_19_concat.o otst_16_parse.c otst_0_manual.c octst_99_enomem.c ctst_0_nothing.c octst_7_auto.c octst_15_trim.c otst_15_trim.c tst_14_cmp.o octst_98_pool.c ctst_10_b.o octst_5_shrink.c tst_10_b.c octst_10_b.c tst_7_auto.c octst_8_spn.o otst_10_b.o ctst_99_enomem.c octst_19_concat.o ctst_12_fmt.o octst_17_sub.c tst_98_pool.c otst_19_join.c octst_98_pool.o tst_1_basic.c tst_13_utf8.o otst_99_64bit.o otst_16_parse.o tst_13_utf8.c otst_1_basic.c ctst_19_join.c octst_4_grow.o otst_6_tiny.o otst_17_sub.o otst_3_medium.c ctst_4_grow.o otst_19_concat.o otst_3_medium.o octst_14_cmp.o tst_4_grow.o ctst_7_auto.c otst_13_utf8.c ctst_7_auto.o octst_4_grow.c octst_3_medium.o otst_19_join.o otst_14_cmp.c tst_99_enomem.c ctst_5_shrink.o otst_18_split.o otst_14_cmp.o ctst_13_utf8.o otst_18_split.c ctst_14_cmp.c octst_0_nothing.o octst_11_io.c tst_2_small.o tst_11_io.c octst_13_utf8.c otst_99_enomem.o otst_12_fmt.o ctst_5_shrink.c tst_3_medium.o ctst_0_nothing.o tst_0_manual.c octst_0_cntl.o tst_19_join.o otst_9_ins.c octst_5_shrink.o tst_5_shrink.c ctst_99_64bit.c octst_9_ins.o otst_0_nothing.o + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lib64ustr1.0_1-1.0.4-14.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8hKTXB + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ustr-1.0.4 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/lib64ustr1.0_1 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/lib64ustr1.0_1 + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/lib64ustr1.0_1 + cp -pr README /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/lib64ustr1.0_1 + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/doc/lib64ustr1.0_1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Cu9SeB + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ustr-1.0.4 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/licenses/lib64ustr1.0_1 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/licenses/lib64ustr1.0_1 + cp -pr LICENSE LICENSE_BSD LICENSE_LGPL LICENSE_MIT /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64/usr/share/licenses/lib64ustr1.0_1 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64ustr1.0_1 = 1.0.4-14.mga9 lib64ustr1.0_1(aarch-64) = 1.0.4-14.mga9 libustr-1.0.so.1()(64bit) libustr-1.0.so.1(USTR_1.0)(64bit) libustr-1.0.so.1(USTR_1.0.1)(64bit) libustr-1.0.so.1(USTR_1.0.2)(64bit) libustr-1.0.so.1(USTR_1.0.3)(64bit) libustr-1.0.so.1(USTR_1.0.4)(64bit) ustr = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Obsoletes: lib64ustr1 < 1.0.4-13 ustr < 1.0.4-13 Processing files: lib64ustr-devel-1.0.4-14.mga9.aarch64 Provides: devel(libustr-1.0(64bit)) lib64ustr-devel = 1.0.4-14.mga9 lib64ustr-devel(aarch-64) = 1.0.4-14.mga9 pkgconfig(ustr) = 1.0.4 ustr-devel = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: pkgconfig Obsoletes: lib64ustr-static-devel < 1.0.4-13 Processing files: lib64ustr1.0_1-debug-1.0.4-14.mga9.aarch64 Provides: lib64ustr1.0_1-debug = 1.0.4-14.mga9 lib64ustr1.0_1-debug(aarch-64) = 1.0.4-14.mga9 libustr-debug-1.0.so.1()(64bit) libustr-debug-1.0.so.1(USTR_1.0)(64bit) libustr-debug-1.0.so.1(USTR_1.0.1)(64bit) libustr-debug-1.0.so.1(USTR_1.0.2)(64bit) libustr-debug-1.0.so.1(USTR_1.0.3)(64bit) libustr-debug-1.0.so.1(USTR_1.0.4)(64bit) ustr-debug = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Processing files: lib64ustr-debug-devel-1.0.4-14.mga9.aarch64 Provides: devel(libustr-debug-1.0(64bit)) lib64ustr-debug-devel = 1.0.4-14.mga9 lib64ustr-debug-devel(aarch-64) = 1.0.4-14.mga9 libustr-debug-1.0.so.1()(64bit) libustr-debug-1.0.so.1(USTR_1.0)(64bit) libustr-debug-1.0.so.1(USTR_1.0.1)(64bit) libustr-debug-1.0.so.1(USTR_1.0.2)(64bit) libustr-debug-1.0.so.1(USTR_1.0.3)(64bit) libustr-debug-1.0.so.1(USTR_1.0.4)(64bit) pkgconfig(ustr-debug) = 1.0.4 ustr-debug-devel = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) pkgconfig Obsoletes: lib64ustr-debug-static-devel < 1.0.4-13 Processing files: ustr-debugsource-1.0.4-14.mga9.aarch64 Provides: ustr-debugsource = 1.0.4-14.mga9 ustr-debugsource(aarch-64) = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64ustr1.0_1-debuginfo-1.0.4-14.mga9.aarch64 Provides: debuginfo(build-id) = ead749ecbb8994b7d3a34c36745b940efee56792 lib64ustr1.0_1-debuginfo = 1.0.4-14.mga9 lib64ustr1.0_1-debuginfo(aarch-64) = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ustr-debugsource(aarch-64) = 1.0.4-14.mga9 Processing files: lib64ustr1.0_1-debug-debuginfo-1.0.4-14.mga9.aarch64 Provides: debuginfo(build-id) = 748a2a9702adc587e92be4c14045385ef56eaeae lib64ustr1.0_1-debug-debuginfo = 1.0.4-14.mga9 lib64ustr1.0_1-debug-debuginfo(aarch-64) = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ustr-debugsource(aarch-64) = 1.0.4-14.mga9 Processing files: lib64ustr-debug-devel-debuginfo-1.0.4-14.mga9.aarch64 Provides: debuginfo(build-id) = 748a2a9702adc587e92be4c14045385ef56eaeae lib64ustr-debug-devel-debuginfo = 1.0.4-14.mga9 lib64ustr-debug-devel-debuginfo(aarch-64) = 1.0.4-14.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ustr-debugsource(aarch-64) = 1.0.4-14.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr-debug-devel-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr1.0_1-debug-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr1.0_1-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr1.0_1-debuginfo-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr-debug-devel-debuginfo-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr1.0_1-debug-debuginfo-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ustr-debugsource-1.0.4-14.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64ustr-devel-1.0.4-14.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Iovi1i + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ustr-1.0.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/ustr-1.0.4-14.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.F2lmYR + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf ustr-1.0.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!