Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ustr.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-142336-9720/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ustr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ustr-1.0.4-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ustr.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-142336-9720/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ustr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0ytkwV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ustr-1.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ustr-1.0.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd ustr-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/c99-inline.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SG0xR3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ustr-1.0.4 + make -j32 all-shared 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' HIDE= echo Compiling: auto configuration test: 64bit echo Compiling: auto configuration test: vsnprintf Compiling: auto configuration test: 64bit Compiling: auto configuration test: vsnprintf cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -o autoconf_64b autoconf_64b.c cc -o autoconf_vsnprintf autoconf_vsnprintf.c echo Creating ustr-import echo Creating ustr-conf.h echo Creating ustr-conf-debug.h 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 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 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 chmod 755 ustr-import echo Compiling for A DBG lib: ustr-b-dbg-code.c echo Compiling for A DBG lib: ustr-cmp-dbg-code.c echo Compiling for A DBG lib: ustr-fmt-dbg-code.c Compiling for A DBG lib: ustr-b-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-cmp-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-fmt-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A DBG lib: ustr-io-dbg-code.c echo Compiling for A DBG lib: ustr-ins-dbg-code.c echo Compiling for A DBG lib: ustr-main-dbg-code.c Compiling for A DBG lib: ustr-io-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-ins-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-main-dbg-code.c echo Compiling for A DBG lib: ustr-parse-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A DBG lib: ustr-pool-dbg-code.c Compiling for A DBG lib: ustr-parse-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A DBG lib: ustr-replace-dbg-code.c Compiling for A DBG lib: ustr-pool-dbg-code.c echo Compiling for A DBG lib: ustr-sc-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-replace-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-sc-dbg-code.c echo Compiling for A DBG lib: ustr-set-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A DBG lib: ustr-split-dbg-code.c Compiling for A DBG lib: ustr-set-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A DBG lib: ustr-spn-dbg-code.c echo Compiling for A DBG lib: ustr-srch-dbg-code.c echo Compiling for A DBG lib: ustr-sub-dbg-code.c Compiling for A DBG lib: ustr-spn-dbg-code.c echo Compiling for A DBG lib: ustr-utf8-dbg-code.c Compiling for A DBG lib: ustr-srch-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for A DBG lib: ustr-sub-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A OPT lib: ustr-b-opt-code.c Compiling for A DBG lib: ustr-utf8-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A OPT lib: ustr-cmp-opt-code.c Compiling for A OPT lib: ustr-b-opt-code.c echo Compiling for A OPT lib: ustr-fmt-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 OPT lib: ustr-io-opt-code.c Compiling for A OPT lib: ustr-cmp-opt-code.c Compiling for A OPT lib: ustr-fmt-opt-code.c echo Compiling for A OPT lib: ustr-ins-opt-code.c Compiling for A DBG lib: ustr-split-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-cmp-code-a-opt.o -c ustr-cmp-opt-code.c Compiling for A OPT lib: ustr-io-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-fmt-code-a-opt.o -c ustr-fmt-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-io-code-a-opt.o -c ustr-io-opt-code.c Compiling for A OPT lib: ustr-ins-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for A OPT lib: ustr-parse-opt-code.c echo Compiling for A OPT lib: ustr-pool-opt-code.c Compiling for A OPT lib: ustr-main-opt-code.c echo Compiling for A OPT lib: ustr-replace-opt-code.c Compiling for A OPT lib: ustr-parse-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-main-code-a-opt.o -c ustr-main-opt-code.c Compiling for A OPT lib: ustr-pool-opt-code.c Compiling for A OPT lib: ustr-replace-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-parse-code-a-opt.o -c ustr-parse-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-pool-code-a-opt.o -c ustr-pool-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 OPT lib: ustr-sc-opt-code.c echo Compiling for A OPT lib: ustr-set-opt-code.c Compiling for A OPT lib: ustr-sc-opt-code.c echo Compiling for A OPT lib: ustr-split-opt-code.c Compiling for A OPT lib: ustr-set-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-sc-code-a-opt.o -c ustr-sc-opt-code.c Compiling for A OPT lib: ustr-split-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-set-code-a-opt.o -c ustr-set-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-spn-opt-code.c echo Compiling for A OPT lib: ustr-srch-opt-code.c echo Compiling for A OPT lib: ustr-sub-opt-code.c Compiling for A OPT lib: ustr-spn-opt-code.c Compiling for A OPT lib: ustr-srch-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-spn-code-a-opt.o -c ustr-spn-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-srch-code-a-opt.o -c ustr-srch-opt-code.c Compiling for A OPT lib: ustr-sub-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 A OPT lib: ustr-utf8-opt-code.c Compiling for A OPT lib: ustr-utf8-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -o ustr-utf8-code-a-opt.o -c ustr-utf8-opt-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-cntl.h:100, from ustr-main.h:150, from ustr-main-opt-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-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; | ^~~~ 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: | ^~~~ In file included from ustr-fmt-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-sc-code.h: In function 'ustrp__sc_toupper': 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-sc-code.h:204:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 204 | size_t clen; | ^~~~ 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-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-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: | ^~~~ 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: | ^~~~ In file included from ustr-main.h:49: ustr-io-code.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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: | ^~~~ 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: | ^~~~ ustr-io-code.h: 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: 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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-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: | ^~~~ 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: | ^~~~ In file included from ustr-srch-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': 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:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ustr-parse-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ 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:874:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 874 | ret |= (((size_t)data[2]) << 16); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ 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:876:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 876 | ret |= (((size_t)data[1]) << 8); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ ustr-main.h:877:5: note: here 877 | case 1: | ^~~~ 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-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: | ^~~~ In file included from ustr-sub-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': In file included from ustr-main.h:935: ustr-main-code.h: In function 'ustrp__dupx_undef': 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: | ^~~~ ustr-main-code.h:676:16: warning: variable 'chk' set but not used [-Wunused-but-set-variable] 676 | struct Ustr *chk = USTR_NULL; | ^~~ In file included from ustr-main.h:49: ustr-cmp.h: 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: 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: 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-code.h: 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: 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: 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: 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-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-sc-opt-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; | ^~~~ 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: 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; | ^~~~ ustr-main-code.h: In function 'ustrp__assert_valid': ustr-main.h:61:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 61 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ echo Compiling for SO DBG lib: ustr-b-dbg-code.c Compiling for SO DBG lib: ustr-b-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-cmp-dbg-code.c Compiling for SO DBG lib: ustr-cmp-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-fmt-dbg-code.c Compiling for SO DBG lib: ustr-fmt-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-io-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-ins-dbg-code.c Compiling for SO DBG lib: ustr-io-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for SO DBG lib: ustr-ins-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-main-dbg-code.c Compiling for SO DBG lib: ustr-main-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-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: | ^~~~ echo Compiling for SO DBG lib: ustr-parse-dbg-code.c Compiling for SO DBG lib: ustr-parse-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-pool-dbg-code.c Compiling for SO DBG lib: ustr-pool-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-replace-dbg-code.c echo Compiling for SO DBG lib: ustr-sc-dbg-code.c In file included from ustr-main.h:49: ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Compiling for SO DBG lib: ustr-replace-dbg-code.c ustr-cmp.h: 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: 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-code.h: 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: 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: In function 'ustr_cmp_case_prefix_buf_eq': In file included from ustr-fmt-dbg-code.c:11: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-cmp-code.h:125:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 125 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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-cmp-code.h: In function 'ustr_cmp_case_suffix_buf_eq': 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-cmp-code.h:139:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 139 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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: | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for SO DBG lib: ustr-sc-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-set-dbg-code.c Compiling for SO DBG lib: ustr-set-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO DBG lib: ustr-split-dbg-code.c Compiling for SO DBG lib: ustr-split-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-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: | ^~~~ 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-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); | ^~~~~~ echo Compiling for SO DBG lib: ustr-spn-dbg-code.c Compiling for SO DBG lib: ustr-spn-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:49: ustr-io-code.h: 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: 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: 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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-srch-dbg-code.c Compiling for SO DBG lib: ustr-srch-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-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-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: | ^~~~ 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 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: | ^~~~ Compiling for SO DBG lib: ustr-sub-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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: 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: | ^~~~ 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-code.h:237:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | data[2] = (val >> 16) & 0xFF; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 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-code.h:238:5: note: here 238 | 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: | ^~~~ 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 SO DBG lib: ustr-utf8-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: | ^~~~ Compiling for SO DBG lib: ustr-utf8-dbg-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo Compiling for SO OPT lib: ustr-b-opt-code.c Compiling for SO OPT lib: ustr-b-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 OPT lib: ustr-cmp-opt-code.c Compiling for SO OPT lib: ustr-cmp-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-fmt-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for SO OPT lib: ustr-fmt-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-ins-opt-code.c Compiling for SO OPT lib: ustr-ins-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 SO OPT lib: ustr-main-opt-code.c Compiling for SO OPT lib: ustr-main-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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: | ^~~~ 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: | ^~~~ 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 OPT lib: ustr-parse-opt-code.c echo Compiling for SO OPT lib: ustr-pool-opt-code.c Compiling for SO OPT lib: ustr-parse-opt-code.c In file included from ustr-cntl.h:100, from ustr-main.h:150, from ustr-main-opt-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); | ^~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for SO OPT lib: ustr-pool-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-replace-opt-code.c In file included from ustr-main.h:935: 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; | ^~~ Compiling for SO OPT lib: ustr-replace-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^~~~ echo Compiling for SO OPT lib: ustr-sc-opt-code.c Compiling for SO OPT lib: ustr-sc-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-set-opt-code.c Compiling for SO OPT lib: ustr-set-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-split-opt-code.c ustr-main-code.h: In function 'ustrp__assert_valid': ustr-main.h:61:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 61 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ Compiling for SO OPT lib: ustr-split-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-spn-opt-code.c Compiling for SO OPT lib: ustr-spn-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-srch-opt-code.c Compiling for SO OPT lib: ustr-srch-opt-code.c echo Compiling for SO OPT lib: ustr-sub-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling for SO OPT lib: ustr-sub-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-sc-opt-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; | ^~~~ echo Compiling for SO OPT lib: ustr-utf8-opt-code.c Compiling for SO OPT lib: ustr-utf8-opt-code.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libustr-debug-1.0.so.1.0.4 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libustr-1.0.so.1.0.4 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 Done static Done static echo Done shared Done shared + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZkTANN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 + cd ustr-1.0.4 + rm -rf /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 + make install-multilib-linux mandir=/usr/share/man libdir=/usr/lib64 DOCSHRDIR=/usr/share/doc/ustr-devel DESTDIR=/builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 LDCONFIG=/bin/true HIDE= echo Done static Done static echo Done shared Done shared echo Making directories Making directories install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64 install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/ustr-1.0.4 install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr-devel install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/ustr-1.0.4/examples install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/man/man1 install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/man/man3 install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin install -d /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/pkgconfig echo Installing files Installing files install -m 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64 libustr-debug.a libustr.a install -m 755 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64 libustr-debug-1.0.so.1.0.4 libustr-1.0.so.1.0.4 rm -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-1.0.so.1 ln -s libustr-1.0.so.1.0.4 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-1.0.so.1 rm -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr.so ln -s libustr-1.0.so.1 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr.so rm -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-debug-1.0.so.1 ln -s libustr-debug-1.0.so.1.0.4 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-debug-1.0.so.1 rm -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-debug.so ln -s libustr-debug-1.0.so.1 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-debug.so /bin/true -n /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64 install -pm 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/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 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/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 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/ustr-1.0.4 .gdbinit install -pm 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/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 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/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 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/man/man1 Documentation/ustr-import.1 install -pm 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/man/man3 Documentation/ustr.3 Documentation/ustr_const.3 install -m 755 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin ustr-import install -pm 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/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 /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/libexec/ustr-1.0.4 mlib=`./autoconf_64b`; \ if test "x$mlib" = "x1"; then mlib=64; else mlib=32; fi; \ mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-debug.h \ /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-debug-$mlib.h; \ mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf.h \ /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-$mlib.h; \ mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin/ustr-import \ /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/libexec/ustr-1.0.4/ustr-import-$mlib install -m 644 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include ustr-conf-multilib-linux.h ustr-conf-debug-multilib-linux.h mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-debug-multilib-linux.h /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-debug.h mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-multilib-linux.h /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf.h install -m 755 -t /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin ustr-import-multilib mv -f /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin/ustr-import-multilib /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin/ustr-import touch --reference ustr-conf-multilib-linux.h /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf.h touch --reference ustr-conf-debug-multilib-linux.h /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/include/ustr-conf-debug.h touch --reference ustr-import-multilib.in /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/bin/ustr-import + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.4-4.ocs23 --unique-debug-suffix -1.0.4-4.ocs23.loongarch64 --unique-debug-src-base ustr-1.0.4-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/ustr-1.0.4 extracting debug info from /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-1.0.so.1.0.4 extracting debug info from /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/lib64/libustr-debug-1.0.so.1.0.4 824 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/ustr-import from /bin/sh -e to #!/usr/bin/sh -e mangling shebang in /usr/libexec/ustr-1.0.4/ustr-import-64 from /bin/sh -e to #!/usr/bin/sh -e + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MQTjQ3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ustr-1.0.4 + make -j32 check 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 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_cntl.o echo "Compiling:" octst_0_cntl.o echo "Compiling: " ctst_0_nothing.o echo "Compiling:" octst_0_nothing.o echo "Compiling: " ctst_3_medium.o Compiling: ctst_0_cntl.o echo "Compiling:" octst_3_medium.o Compiling: octst_0_cntl.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: ctst_0_nothing.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_0_cntl.o -c octst_0_cntl.c Compiling: octst_0_nothing.o echo "Compiling: " ctst_4_grow.o Compiling: ctst_3_medium.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: octst_3_medium.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_0_nothing.o -c octst_0_nothing.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_3_medium.o -c octst_3_medium.c Compiling: ctst_4_grow.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_4_grow.o echo "Compiling: " ctst_5_shrink.o echo "Compiling:" octst_5_shrink.o echo "Compiling: " ctst_7_auto.o echo "Compiling:" octst_7_auto.o Compiling: octst_4_grow.o echo "Compiling: " ctst_8_spn.o Compiling: ctst_5_shrink.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_4_grow.o -c octst_4_grow.c Compiling: octst_5_shrink.o echo "Compiling:" octst_8_spn.o Compiling: ctst_7_auto.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_5_shrink.o -c octst_5_shrink.c Compiling: octst_7_auto.o Compiling: ctst_8_spn.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_7_auto.o -c octst_7_auto.c Compiling: octst_8_spn.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_8_spn.o -c octst_8_spn.c echo "Compiling: " ctst_9_ins.o echo "Compiling:" octst_9_ins.o echo "Compiling: " ctst_10_b.o echo "Compiling:" octst_10_b.o echo "Compiling: " ctst_11_io.o Compiling: ctst_9_ins.o echo "Compiling:" octst_11_io.o Compiling: octst_9_ins.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_9_ins.o -c octst_9_ins.c Compiling: ctst_10_b.o echo "Compiling: " ctst_12_fmt.o Compiling: octst_10_b.o Compiling: ctst_11_io.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_12_fmt.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_10_b.o -c octst_10_b.c Compiling: octst_11_io.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_11_io.o -c octst_11_io.c echo "Compiling: " ctst_13_utf8.o Compiling: ctst_12_fmt.o echo "Compiling:" octst_13_utf8.o Compiling: octst_12_fmt.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_12_fmt.o -c octst_12_fmt.c echo "Compiling: " ctst_14_cmp.o echo "Compiling:" octst_14_cmp.o Compiling: octst_13_utf8.o Compiling: ctst_13_utf8.o Compiling: ctst_14_cmp.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: octst_14_cmp.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_13_utf8.o -c octst_13_utf8.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_14_cmp.o -c octst_14_cmp.c echo "Compiling: " ctst_15_trim.o echo "Compiling:" octst_15_trim.o echo "Compiling: " ctst_16_parse.o echo "Compiling:" octst_16_parse.o echo "Compiling: " ctst_17_sub.o echo "Compiling:" octst_17_sub.o Compiling: ctst_15_trim.o Compiling: octst_15_trim.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: ctst_16_parse.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_15_trim.o -c octst_15_trim.c Compiling: octst_16_parse.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: ctst_17_sub.o Compiling: octst_17_sub.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_16_parse.o -c octst_16_parse.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_17_sub.o -c octst_17_sub.c echo "Compiling: " ctst_18_split.o Compiling: ctst_18_split.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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: | ^~~~ echo "Compiling:" octst_18_split.o Compiling: octst_18_split.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_18_split.o -c octst_18_split.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': 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:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ustr-main.h:875:5: note: here 875 | case 2: | ^~~~ ustr-main.h:872:5: note: here 872 | case 4: | ^~~~ 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: | ^~~~ 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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 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 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 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: | ^~~~ 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 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: | ^~~~ 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-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 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ echo "Compiling: " ctst_19_concat.o Compiling: ctst_19_concat.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_19_concat.o Compiling: octst_19_concat.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_19_concat.o -c octst_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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ echo "Compiling: " ctst_19_join.o Compiling: ctst_19_join.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_19_join.o Compiling: octst_19_join.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_19_join.o -c octst_19_join.c In file included from ustr-debug.h:16: In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_12_fmt.c:170:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tst.h: In function 'tst': tst.h:78:21: note: source object allocated here 78 | static struct Ustr *s2 = USTR1(\x02, "s2"); | ^~ 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: | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ echo "Compiling: " ctst_98_pool.o Compiling: ctst_98_pool.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_98_pool.o Compiling: octst_98_pool.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_98_pool.o -c octst_98_pool.c echo "Compiling: " ctst_99_enomem.o Compiling: ctst_99_enomem.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling:" octst_99_enomem.o Compiling: octst_99_enomem.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_99_enomem.o -c octst_99_enomem.c echo "Compiling: " ctst_99_64bit.o Compiling: ctst_99_64bit.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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: | ^~~~ ustr-main.h: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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: | ^~~~ ustr-main.h: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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: | ^~~~ echo "Compiling:" octst_99_64bit.o ustr-main.h: In function 'ustr_len': Compiling: octst_99_64bit.o tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fgnu89-inline -DUSTR_DEBUG=0 -o octst_99_64bit.o -c octst_99_64bit.c echo "Compiling: " tst_0_sizes.o Compiling: tst_0_sizes.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling: " tst_0_manual.o echo "Compiling: " otst_0_sizes.o Compiling: tst_0_manual.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: otst_0_sizes.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: " otst_0_manual.o Compiling: otst_0_manual.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^~~~ Compiling: tst_0_nothing.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 otst_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; | ^~~~ echo "Compiling: " otst_0_nothing.o Compiling: otst_0_nothing.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_0_sizes.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; | ^~~ In file included from ustr-debug.h:16: In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_3_medium.c:73:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tst.h: In function 'tst': tst.h:77:21: note: source object allocated here 77 | static struct Ustr *s1 = USTR(""); | ^~ In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_3_medium.c:237:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctst_3_medium.c: In function 'tst': ctst_3_medium.c:47:9: note: source object allocated here 47 | Ustr *s3 = USTR1(\xb, "abcd 42 xyz"); | ^~ 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-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: 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: ustr-main-code.h: In function 'ustr__ref_add': echo "Compiling: " tst_1_basic.o 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: | ^~~~ 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; | ^~~~ Compiling: tst_1_basic.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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.h: In function 'ustr_len': In file included from ustr-sc.h:199, from otst_0_manual.c:20: ustr-sc-code.h: In function 'ustrp__sc_tolower': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_1_basic.o ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr.h:14, from otst_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; | ^~~ Compiling: otst_1_basic.o ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ echo "Compiling: " tst_2_small.o echo "Compiling: " otst_2_small.o Compiling: tst_2_small.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: otst_2_small.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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; | ^~~~ echo "Compiling: " tst_3_medium.o In file included from ustr-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ Compiling: tst_3_medium.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_1_basic.c:3: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_2_small.c:4: 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: 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.h:199, from ustr.h:29: 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_3_medium.o Compiling: otst_3_medium.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_4_grow.o In file included from ustr-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ Compiling: tst_4_grow.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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-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-sc.h:199, from ustr-debug.h:29: 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: 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: 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-debug.h: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 ustr-main.h:935: 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.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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); | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_3_medium.c:5: ustr-main-code.h: In function 'ustrp__dupx_undef': 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: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__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: In function 'ustr_cmp_fast_buf': echo "Compiling: " otst_4_grow.o Compiling: otst_4_grow.o ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-cmp-code.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " tst_5_shrink.o Compiling: tst_5_shrink.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-code.h: 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-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ echo "Compiling: " otst_5_shrink.o In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_4_grow.c:10: 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; | ^~~ Compiling: otst_5_shrink.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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-debug.h:29: 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: 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: 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); | ^~~~ echo "Compiling: " tst_6_tiny.o Compiling: tst_6_tiny.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-code.h: 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.h: 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: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h: In function 'ustr_sc_export_subustr': tst.h:6:10: warning: 'nonnull' argument 'my_alloc' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-fmt-code.h: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_5_shrink.c:6: 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__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_6_tiny.o 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; | ^~~~ 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; | ^~~~ echo "Compiling: " tst_7_auto.o Compiling: otst_6_tiny.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-debug.h:29: ustr-sc-code.h: In function 'ustrp__sc_tolower': Compiling: tst_7_auto.o 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: 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-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-main.h:935: 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: | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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-debug.h: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 ustr-main.h:935: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: 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: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': ustr-main-code.h: In function 'ustrp__sc_ensure_owner': ustr-cmp.h: In function 'ustr_cmp_fast_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h:61:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 61 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ ustr-cmp.h:164:37: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 164 | USTR_ASSERT(ustr_assert_valid(s1) && buf); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-sc.h:199, from ustr-debug.h:29: 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-fmt-code.h: In function 'ustrp__add_vfmt_lim': ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h: In function 'ustrp__sc_free_shared': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_7_auto.o In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_6_tiny.c:4: 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; | ^~~~ Compiling: otst_7_auto.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_8_spn.o Compiling: tst_8_spn.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_7_auto.c:4: 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; | ^~~~ echo "Compiling: " otst_8_spn.o 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; | ^~~~ Compiling: otst_8_spn.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-debug.h:29: 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: 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: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-code.h: 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-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ echo "Compiling: " tst_9_ins.o 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; | ^~~~ Compiling: tst_9_ins.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: 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: 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: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_8_spn.c:3: 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.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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: 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: 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-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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: 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: 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); | ^~~~ echo "Compiling: " otst_9_ins.o Compiling: otst_9_ins.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_9_ins.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; | ^~~~ echo "Compiling: " tst_10_b.o Compiling: tst_10_b.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling: " otst_10_b.o Compiling: otst_10_b.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-debug.h:29: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_10_b.c:3: 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; | ^~~~ echo "Compiling: " tst_11_io.o Compiling: tst_11_io.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling: " otst_11_io.o Compiling: otst_11_io.o In file included from ustr-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_12_fmt.o Compiling: tst_12_fmt.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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: 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: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_12_fmt.o In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_11_io.c:3: 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; | ^~~ Compiling: otst_12_fmt.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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-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: 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: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_12_fmt.c:16: 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-debug.h:29: 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.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; | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp-code.h: 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.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-io-code.h: In function 'ustrp__io_put': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-io-code.h: In function 'ustrp__io_getdelim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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: In function 'ustrp__io_get': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ustr-debug.h: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 ustr-main.h:935: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " tst_13_utf8.o In file included from ustr-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-fmt-code.h: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': Compiling: tst_13_utf8.o tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_13_utf8.o Compiling: otst_13_utf8.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: " tst_14_cmp.o Compiling: tst_14_cmp.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling: " otst_14_cmp.o Compiling: otst_14_cmp.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_15_trim.o Compiling: tst_15_trim.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_13_utf8.c:3: 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-debug.h: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 ustr-main.h:935: 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: | ^~~~ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_14_cmp.c:3: 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 '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 '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-parse.h:79, from ustr-debug.h: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 '+': | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-sc-code.h: In function 'ustrp__sc_utf8_reverse': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-sc.h:199, from ustr-debug.h:29: 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_15_trim.o Compiling: otst_15_trim.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: " tst_16_parse.o In file included from ustr-debug.h: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: | ^~~~ Compiling: tst_16_parse.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935: 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-sc.h:199, from ustr-debug.h:29: 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; | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp-code.h: 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: 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: 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: 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.h: 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: 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: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_15_trim.c:3: 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-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: 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: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h: In function 'ustrp__sc_trim_chrs': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " otst_16_parse.o Compiling: otst_16_parse.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-debug.h:29: 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.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: 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: 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: 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 '+': | ^~~~ echo "Compiling: " tst_17_sub.o Compiling: tst_17_sub.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_16_parse.c:3: 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; | ^~~~ echo "Compiling: " otst_17_sub.o Compiling: otst_17_sub.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-sc.h:199, from ustr-debug.h:29: 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_18_split.o Compiling: tst_18_split.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_17_sub.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-debug.h:29: 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_18_split.o 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; | ^~~~ Compiling: otst_18_split.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 In file included from ustr-debug.h: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 ustr-main.h:935: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-debug.h: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 ustr-main.h:935: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_18_split.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.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ echo "Compiling: " tst_19_concat.o Compiling: tst_19_concat.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: 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; | ^~~~ ustr-main-code.h: In function 'ustrp__assert_valid': ustr-main.h:61:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 61 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ echo "Compiling: " otst_19_concat.o Compiling: otst_19_concat.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 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: 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: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ echo "Compiling: " tst_19_join.o Compiling: tst_19_join.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_19_concat.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-debug.h:29: 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_19_join.o Compiling: otst_19_join.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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: " tst_98_pool.o Compiling: tst_98_pool.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 echo "Compiling: " otst_98_pool.o Compiling: otst_98_pool.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_19_join.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; | ^~~ 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; | ^~~~ 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-debug.h: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 ustr-main.h:935: 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); | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-sc.h:199, from ustr-debug.h:29: 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-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_98_pool.c:6: 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; | ^~~~ echo "Compiling: " tst_99_enomem.o Compiling: tst_99_enomem.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_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; | ^~~~ echo "Compiling: " otst_99_enomem.o echo "Compiling: " tst_99_64bit.o Compiling: otst_99_enomem.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 Compiling: tst_99_64bit.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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-debug.h: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 ustr-main.h:935: 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-sc.h:199, from ustr-debug.h:29: 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_99_64bit.o Compiling: otst_99_64bit.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_0_cntl ctst_0_cntl.o libustr-debug.a In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_99_enomem.c:3: 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; | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_rev': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_0_cntl octst_0_cntl.o libustr.a 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-main-code.h: In function 'ustrp__sc_free2': ustr-sc-code.h:174:10: warning: variable 'clen' set but not used [-Wunused-but-set-variable] 174 | size_t clen; | ^~~~ tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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; | ^~~~ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-main.h:935, from ustr-debug.h:14, from tst.h:71, from otst_99_64bit.c:4: ustr-main-code.h: In function 'ustrp__dupx_undef': ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h:676:16: warning: variable 'chk' set but not used [-Wunused-but-set-variable] 676 | struct Ustr *chk = USTR_NULL; | ^~~ ustr-set-code.h: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_0_nothing ctst_0_nothing.o libustr-debug.a ustr-replace-code.h: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_0_nothing octst_0_nothing.o libustr.a 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; | ^~~~ ustr-replace-code.h: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_3_medium ctst_3_medium.o libustr-debug.a In file included from ustr-debug.h: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 ustr-main.h:935: 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 'ustrp__assert_valid': ustr-main.h:61:13: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 61 | do { if (x){} else return (y); } while (USTR_FALSE) | ^ 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-sc.h:199, from ustr-debug.h:29: 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.h:199, from ustr-debug.h:29: 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.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; | ^~~~ ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_make_subpool': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_pool_clear': tst.h:6:10: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-cmp.h: 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: 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: 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-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_cspn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-spn-code.h: In function 'ustr_spn_chrs_fwd': tst.h:6:10: warning: 'nonnull' argument 'chrs' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h: In function 'ustrp__sc_utf8_reverse': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sc-code.h: In function 'ustrp__sc_free_shared': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-fmt-code.h: In function 'ustrp__add_vfmt_lim': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ In file included from ustr-debug.h:14: ustr-main.h: In function 'ustr_xi__embed_val_get': ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h:870:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 870 | ret |= (((size_t)data[4]) << 32); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_3_medium octst_3_medium.o libustr.a 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: | ^~~~ ustr-set-code.h: In function 'ustrp__set_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_empty': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-io-code.h: In function 'ustrp__io_put': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ustr-main.h:935: ustr-main-code.h: In function 'ustr__ref_add': ustr-io-code.h: In function 'ustrp__io_get': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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-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-replace-code.h: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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-replace-code.h: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__realloc': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ 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); | ^~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_4_grow ctst_4_grow.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_4_grow octst_4_grow.o libustr.a ustr-main.h: In function 'ustr_len': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main.h: In function 'ustr_cstr': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__assert_valid': tst.h:6:10: warning: 'nonnull' argument 's1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustr_init_alloc': tst.h:6:10: warning: 'nonnull' argument 'data' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_free2': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__sc_ensure_owner': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-ins-code.h: In function 'ustrp__ins_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__add': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-set-code.h: In function 'ustrp__set': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-main-code.h: In function 'ustrp__del_subustr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-sub-code.h: In function 'ustrp__sc_sub_undef': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_buf': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ ustr-replace-code.h: In function 'ustrp__replace_rep_chr': tst.h:6:10: warning: 'nonnull' argument 'ps1' compared to NULL [-Wnonnull-compare] 6 | if (x) {} else { \ | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_5_shrink ctst_5_shrink.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_5_shrink octst_5_shrink.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_7_auto ctst_7_auto.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_7_auto octst_7_auto.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_8_spn ctst_8_spn.o libustr-debug.a In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_3_medium.c:73:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ^ tst.h: In function 'tst': tst.h:77:21: note: source object allocated here 77 | static struct Ustr *s1 = USTR(""); | ^ In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_3_medium.c:237:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ^ ctst_3_medium.c: In function 'tst': ctst_3_medium.c:47:9: note: source object allocated here 47 | Ustr *s3 = USTR1(\xb, "abcd 42 xyz"); | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_8_spn octst_8_spn.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_9_ins ctst_9_ins.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_9_ins octst_9_ins.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_10_b ctst_10_b.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_10_b octst_10_b.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_11_io ctst_11_io.o libustr-debug.a In function 'ustr_srch_chr_fwd', inlined from 'ustr_cspn_chr_fwd' at ustr-spn-code.h:142:18: ustr-srch-code.h:29:15: warning: 'memchr' specified bound [18446744073709551607, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 29 | if (!(tmp = memchr(ptr, val, len))) return (0); | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_11_io octst_11_io.o libustr.a In function 'ustr_srch_chr_rev', inlined from 'ustr_cspn_chr_rev' at ustr-spn-code.h:153:18: ustr-srch-code.h:48:15: warning: 'memrchr' specified size between 18446744073709551607 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 48 | if (!(tmp = memrchr(ptr, val, len))) return (0); | ^ /usr/include/string.h: In function 'ustr_cspn_chr_rev': /usr/include/string.h:133:14: note: in a call to function 'memrchr' declared with attribute 'access (read_only, 1, 3)' 133 | extern void *memrchr (const void *__s, int __c, size_t __n) | ^ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_12_fmt ctst_12_fmt.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_12_fmt octst_12_fmt.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_13_utf8 ctst_13_utf8.o libustr-debug.a In file included from ustr-fmt.h:100, from ustr-debug.h:17: ustr-fmt-code.h: In function 'ustrp__dupx_vfmt_lim.constprop.0': 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:964, from malloc-check.h:108, from tst.h:55: In function 'vsnprintf', inlined from 'ustrp__dupx_vfmt_lim.constprop.0' at ustr-fmt-code.h:175:8: /usr/include/bits/stdio2.h:68:10: note: '__vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_13_utf8 octst_13_utf8.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_14_cmp ctst_14_cmp.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_14_cmp octst_14_cmp.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_15_trim ctst_15_trim.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_15_trim octst_15_trim.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_16_parse ctst_16_parse.o libustr-debug.a In file included from ustr-fmt.h:100, from ustr-debug.h:17: ustr-fmt-code.h: In function 'ustrp__dupx_vfmt_lim.constprop.0': 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:964, from malloc-check.h:108, from tst.h:55: In function 'vsnprintf', inlined from 'ustrp__dupx_vfmt_lim.constprop.0' at ustr-fmt-code.h:175:8: /usr/include/bits/stdio2.h:68:10: note: '__vsnprintf_chk' output 5001 bytes into a destination of size 128 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_16_parse octst_16_parse.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_17_sub ctst_17_sub.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_17_sub octst_17_sub.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_18_split ctst_18_split.o libustr-debug.a In function 'ustr_cmp_fast_buf', inlined from 'ustr_cmp_fast' at ustr-cmp.h:229:11, inlined from 'ustr_cmp_eq' at ustr-cmp.h:251:12, inlined from 'tst' at ctst_12_fmt.c:170:3: ustr-cmp.h:168:13: warning: 'memcmp' specified bound [18446744073709551615, 0] exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 168 | return (memcmp(ustr_cstr(s1), buf, len1)); | ^ tst.h: In function 'tst': tst.h:78:21: note: source object allocated here 78 | static struct Ustr *s2 = USTR1(\x02, "s2"); | ^ ustr-fmt-code.h: In function 'ustrp__add_vfmt_lim.constprop.0': 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 function 'vsnprintf', inlined from 'ustrp__add_vfmt_lim.constprop.0' at ustr-fmt-code.h:68:8: /usr/include/bits/stdio2.h:68:10: note: '__vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_18_split octst_18_split.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_19_concat ctst_19_concat.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_19_concat octst_19_concat.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_19_join ctst_19_join.o libustr-debug.a In file included from ustr-set.h:89, from ustr-debug.h:22: ustr-set-code.h: In function 'ustrp__set_vfmt_lim.constprop.0': 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 function 'vsnprintf', inlined from 'ustrp__set_vfmt_lim.constprop.0' at ustr-set-code.h:222:8: /usr/include/bits/stdio2.h:68:10: note: '__vsnprintf_chk' output between 501 and 502 bytes into a destination of size 128 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_19_join octst_19_join.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_99_64bit ctst_99_64bit.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_99_64bit octst_99_64bit.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_0_sizes tst_0_sizes.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_0_manual tst_0_manual.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_0_sizes otst_0_sizes.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_0_manual otst_0_manual.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_0_nothing tst_0_nothing.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_0_nothing otst_0_nothing.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_1_basic tst_1_basic.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_1_basic otst_1_basic.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_2_small tst_2_small.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_2_small otst_2_small.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_3_medium tst_3_medium.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_3_medium otst_3_medium.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_4_grow tst_4_grow.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_4_grow otst_4_grow.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_5_shrink tst_5_shrink.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_5_shrink otst_5_shrink.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_6_tiny tst_6_tiny.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_6_tiny otst_6_tiny.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_7_auto tst_7_auto.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_7_auto otst_7_auto.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_8_spn tst_8_spn.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_8_spn otst_8_spn.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_9_ins tst_9_ins.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_9_ins otst_9_ins.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_10_b tst_10_b.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_10_b otst_10_b.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_11_io tst_11_io.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_11_io otst_11_io.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_12_fmt tst_12_fmt.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_12_fmt otst_12_fmt.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_13_utf8 tst_13_utf8.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_13_utf8 otst_13_utf8.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_14_cmp tst_14_cmp.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_14_cmp otst_14_cmp.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_15_trim tst_15_trim.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_15_trim otst_15_trim.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_16_parse tst_16_parse.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_16_parse otst_16_parse.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_17_sub tst_17_sub.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_17_sub otst_17_sub.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_18_split tst_18_split.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_18_split otst_18_split.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_19_concat tst_19_concat.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_19_concat otst_19_concat.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_19_join tst_19_join.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_19_join otst_19_join.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_98_pool tst_98_pool.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_99_enomem tst_99_enomem.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tst_99_64bit tst_99_64bit.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_99_64bit otst_99_64bit.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_98_pool ctst_98_pool.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_99_enomem otst_99_enomem.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ctst_99_enomem ctst_99_enomem.o libustr-debug.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o otst_98_pool otst_98_pool.o cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_98_pool octst_98_pool.o libustr.a cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o octst_99_enomem octst_99_enomem.o libustr.a 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: ustr-1.0.4-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iFiPtZ + umask 022 + cd /builddir/build/BUILD + cd ustr-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr + cp -pr ChangeLog /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr + cp -pr README /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr + cp -pr NEWS /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/doc/ustr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8Vqnw2 + umask 022 + cd /builddir/build/BUILD + cd ustr-1.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/licenses/ustr + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/licenses/ustr + cp -pr LICENSE LICENSE_BSD LICENSE_LGPL LICENSE_MIT /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64/usr/share/licenses/ustr + RPM_EC=0 ++ jobs -p + exit 0 Provides: 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-4.ocs23 ustr(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: ustr-devel-1.0.4-4.ocs23.loongarch64 Provides: pkgconfig(ustr) = 1.0.4 ustr-devel = 1.0.4-4.ocs23 ustr-devel(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config /usr/bin/sh libustr-1.0.so.1()(64bit) Processing files: ustr-static-1.0.4-4.ocs23.loongarch64 Provides: ustr-static = 1.0.4-4.ocs23 ustr-static(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ustr-debug-1.0.4-4.ocs23.loongarch64 Provides: 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 = 1.0.4-4.ocs23 ustr-debug(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libustr-debug-1.0.so.1()(64bit) rtld(GNU_HASH) Processing files: ustr-debug-static-1.0.4-4.ocs23.loongarch64 Provides: ustr-debug-static = 1.0.4-4.ocs23 ustr-debug-static(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ustr-debugsource-1.0.4-4.ocs23.loongarch64 Provides: ustr-debugsource = 1.0.4-4.ocs23 ustr-debugsource(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ustr-debuginfo-1.0.4-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 6d20c7feb0eab7aed9cd672557cfb5fb6fc0bba6 libustr-1.0.so.1.0.4-1.0.4-4.ocs23.loongarch64.debug()(64bit) ustr-debuginfo = 1.0.4-4.ocs23 ustr-debuginfo(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ustr-debugsource(loongarch-64) = 1.0.4-4.ocs23 Processing files: ustr-debug-debuginfo-1.0.4-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 13c1808eb623e7771b5ab9e8dea6d64a4f8f6769 libustr-debug-1.0.so.1.0.4-1.0.4-4.ocs23.loongarch64.debug()(64bit) ustr-debug-debuginfo = 1.0.4-4.ocs23 ustr-debug-debuginfo(loongarch-64) = 1.0.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ustr-debugsource(loongarch-64) = 1.0.4-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ustr-1.0.4-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/ustr-debug-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-debugsource-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-devel-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-debug-debuginfo-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-debuginfo-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-debug-static-1.0.4-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ustr-static-1.0.4-4.ocs23.loongarch64.rpm Child return code was: 0