Diff of the two buildlogs: -- --- b1/build.log 2025-10-11 08:46:31.752965185 +0000 +++ b2/build.log 2025-10-11 08:48:51.733136720 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 13 03:06:22 -12 2026 -I: pbuilder-time-stamp: 1794582382 +I: Current time: Sat Oct 11 22:46:34 +14 2025 +I: pbuilder-time-stamp: 1760172394 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking openseachest_25.05.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1135643/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 11 08:46 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bd9af4db2b404f5c9d69237ee373b27e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1135643' - PS1='# ' - PS2='> ' + INVOCATION_ID=49e326470a06452f80c6a3dc3d9473d0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=953151 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0XawWkf6/pbuilderrc_oKac --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0XawWkf6/b1 --logfile b1/build.log openseachest_25.05.3-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0XawWkf6/pbuilderrc_ig9S --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0XawWkf6/b2 --logfile b2/build.log openseachest_25.05.3-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1135643/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -163,7 +195,7 @@ Get: 54 http://deb.debian.org/debian unstable/main amd64 python3-zipp all 3.23.0-1 [11.0 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 78.1.1-0.1 [738 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 meson all 1.9.1-1 [665 kB] -Fetched 19.9 MB in 1s (24.1 MB/s) +Fetched 19.9 MB in 6s (3346 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19856 files and directories currently installed.) @@ -360,8 +392,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Nov 13 15:08:24 UTC 2026. -Universal Time is now: Fri Nov 13 15:08:24 UTC 2026. +Local time is now: Sat Oct 11 08:47:46 UTC 2025. +Universal Time is now: Sat Oct 11 08:47:46 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -414,7 +446,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-25.05.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../openseachest_25.05.3-1_source.changes +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-25.05.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../openseachest_25.05.3-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 25.05.3-1 dpkg-buildpackage: info: source distribution unstable @@ -903,36 +939,8 @@ Found ninja-1.12.1 at /usr/bin/ninja dh_auto_build - cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j16 -v -[1/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -c ../subprojects/opensea-common/src/secured_env_vars.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/secured_env_vars.c:18: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/secured_env_vars.c:17: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[2/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c + cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j12 -v +[1/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/error_translation.h:15, @@ -953,20 +961,17 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -c ../subprojects/opensea-common/src/math_utils.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -c ../subprojects/opensea-common/src/prng.c +[2/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -c ../subprojects/opensea-common/src/math_utils.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -c ../subprojects/opensea-common/src/sleep.c +[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -c ../subprojects/opensea-common/src/prng.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -c ../subprojects/opensea-common/src/precision_timer.c +[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/precision_timer.c:17: + from ../subprojects/opensea-common/src/env_detect.c:16: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -983,19 +988,15 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/precision_timer.h:18, - from ../subprojects/opensea-common/src/precision_timer.c:14: + from ../subprojects/opensea-common/src/env_detect.c:15: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-common/src/constraint_handling.c:17: + from ../subprojects/opensea-common/src/env_detect.c:14: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -1035,31 +1036,11 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-common/src/sort_and_search.c:16: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ -[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -c ../subprojects/opensea-common/src/pattern_utils.c +[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -c ../subprojects/opensea-common/src/precision_timer.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/pattern_utils.c:18: + from ../subprojects/opensea-common/src/precision_timer.c:17: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -1076,43 +1057,19 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/pattern_utils.c:16: + from ../subprojects/opensea-common/include/precision_timer.h:18, + from ../subprojects/opensea-common/src/precision_timer.c:14: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[10/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c +[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/env_detect.c:16: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/env_detect.c:15: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-common/src/env_detect.c:14: + from ../subprojects/opensea-common/src/constraint_handling.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -1152,7 +1109,75 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[11/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c +[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-common/src/bit_manip.c:14: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -c ../subprojects/opensea-common/src/pattern_utils.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../subprojects/opensea-common/src/pattern_utils.c:18: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/src/pattern_utils.c:16: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -c ../subprojects/opensea-common/src/secured_env_vars.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../subprojects/opensea-common/src/secured_env_vars.c:18: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/src/secured_env_vars.c:17: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[10/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, @@ -1172,7 +1197,53 @@ ../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] 57 | constexpr comparefn nullcompare = M_NULLPTR; | ^~~~~~~~~~~ -[12/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c +[11/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -c ../subprojects/opensea-common/src/sleep.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[12/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[13/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-common/src/sort_and_search.c:16: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ +[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-common/src/safe_qsort.c:37: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ +[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, @@ -1217,22 +1288,7 @@ ../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] 57 | constexpr comparefn nullcompare = M_NULLPTR; | ^~~~~~~~~~~ -[13/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-common/src/bit_manip.c:14: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -c ../subprojects/opensea-common/src/unit_conversion.c +[16/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -c ../subprojects/opensea-common/src/unit_conversion.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/io_utils.h:23, @@ -1276,27 +1332,19 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[16/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c +[17/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -c ../subprojects/opensea-common/src/type_conversion.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-common/src/safe_qsort.c:37: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ -[17/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-common/src/type_conversion.c:14: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[18/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, @@ -1324,23 +1372,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[18/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -c ../subprojects/opensea-common/src/type_conversion.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-common/src/type_conversion.c:14: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -c ../subprojects/opensea-common/src/time_utils.c +[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -c ../subprojects/opensea-common/src/validate_format.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/time_utils.c:18: + from ../subprojects/opensea-common/src/validate_format.c:19: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -1356,8 +1392,16 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/src/validate_format.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-common/src/time_utils.c:16: + from ../subprojects/opensea-common/src/validate_format.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -1397,17 +1441,39 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ +[20/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-common/src/time_utils.c:14: + from ../subprojects/opensea-common/src/memory_safety.c:14: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ +[21/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/secure_file.h:17, + from ../subprojects/opensea-common/src/secure_file.c:14: +../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/secure_file.c:1151:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1151 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/src/secure_file.c: In function ‘generate_Log_Name’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/secure_file.c:1421:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1421 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-common/src/time_utils.c:13: + from ../subprojects/opensea-common/src/secure_file.c:19: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; | ^~~~~~~~~~~ @@ -1420,11 +1486,8 @@ ../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ -[20/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -c ../subprojects/opensea-common/src/validate_format.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/validate_format.c:19: + from ../subprojects/opensea-common/src/secure_file.c:18: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -1441,7 +1504,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/validate_format.c:18: + from ../subprojects/opensea-common/src/secure_file.c:17: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -1449,7 +1512,68 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-common/src/validate_format.c:17: + from ../subprojects/opensea-common/src/secure_file.c:16: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[22/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -c ../subprojects/opensea-common/src/time_utils.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../subprojects/opensea-common/src/time_utils.c:18: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../subprojects/opensea-common/src/time_utils.c:16: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -1489,7 +1613,30 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[21/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -c ../subprojects/opensea-common/src/posix_secure_file.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-common/src/time_utils.c:14: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-common/src/time_utils.c:13: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +[23/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -c ../subprojects/opensea-common/src/posix_secure_file.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, @@ -1558,18 +1705,7 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[22/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/memory_safety.c:14: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[23/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -c ../subprojects/opensea-transport/src/asmedia_nvme_helper.c +[24/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -c ../subprojects/opensea-transport/src/asmedia_nvme_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -1647,110 +1783,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[24/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/secure_file.h:17, - from ../subprojects/opensea-common/src/secure_file.c:14: -../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/secure_file.c:1151:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1151 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/src/secure_file.c: In function ‘generate_Log_Name’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/secure_file.c:1421:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1421 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-common/src/secure_file.c:19: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/secure_file.c:18: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/src/secure_file.c:17: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-common/src/secure_file.c:16: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[25/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -c ../subprojects/opensea-transport/src/intel_rst_helper.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[26/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -c ../subprojects/opensea-common/src/posix_env_detect.c +[25/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -c ../subprojects/opensea-common/src/posix_env_detect.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/src/posix_env_detect.c:13: @@ -1891,20 +1924,20 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[27/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c +[26/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: +In file included from ../subprojects/opensea-common/include/io_utils.h:20, + from ../subprojects/opensea-common/src/io_utils.c:17: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:2613:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2613 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:23: + from ../subprojects/opensea-common/src/io_utils.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -1922,86 +1955,15 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-common/src/io_utils.c:18: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[28/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -c ../subprojects/opensea-transport/src/ciss_helper.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/ciss_helper.c:18: -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 250 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1446:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1446 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1565:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1565 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1672 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1810:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1810 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1841:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1841 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/ciss_helper.c:26: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/ciss_helper.c:22: +In file included from ../subprojects/opensea-common/include/io_utils.h:23: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -2041,47 +2003,23 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c +[27/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -c ../subprojects/opensea-transport/src/intel_rst_helper.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[28/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: + from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:22: + from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:23: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -2106,39 +2044,39 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[30/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c +[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: + from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:111:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/nec_legacy_helper.c:22: + from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -2163,40 +2101,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[31/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/include/common_public.h:16, - from ../subprojects/opensea-transport/include/nvme_helper.h:15, - from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, - from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: -../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h: At top level: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[33/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c +[30/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -2307,11 +2212,62 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[34/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c +[31/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -c ../subprojects/opensea-transport/src/ciss_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-transport/src/ciss_helper.c:18: +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 250 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1446:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1446 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1565:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1565 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1672 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1810:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1810 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1841:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1841 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:23: + from ../subprojects/opensea-transport/src/ciss_helper.c:26: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -2328,7 +2284,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:19: + from ../subprojects/opensea-transport/src/ciss_helper.c:22: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -2369,78 +2325,44 @@ 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[35/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c +[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: + from ../subprojects/opensea-transport/include/common_public.h:16, + from ../subprojects/opensea-transport/include/nvme_helper.h:15, + from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, + from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: +../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:22: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h: At top level: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[36/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -c ../subprojects/opensea-common/src/string_utils.c +[33/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -c ../subprojects/opensea-common/src/string_utils.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, @@ -2468,122 +2390,39 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c +[34/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/nvme_helper.c:14: -../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: + from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:598:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 598 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:111:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:599:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 599 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/nvme_helper.c:23: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-transport/src/nvme_helper.c:22: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/nvme_helper.c:18: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[38/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=3 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/io_utils.h:20, - from ../subprojects/opensea-common/src/io_utils.c:17: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +../subprojects/opensea-transport/src/nec_legacy_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/io_utils.c:2613:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2613 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-common/src/io_utils.c:22: + from ../subprojects/opensea-transport/src/nec_legacy_helper.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -2601,89 +2440,55 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-common/src/io_utils.c:18: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[39/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c +[35/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[36/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/cmds.c:16: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: + from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:833:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 833 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:975:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 975 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:1065:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1065 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:1687:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1687 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/cmds.c:23: + from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -2708,11 +2513,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[40/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c +[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/nvme_cmds.c:24: + from ../subprojects/opensea-transport/src/raid_scan_helper.c:23: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -2729,7 +2534,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/nvme_cmds.c:20: + from ../subprojects/opensea-transport/src/raid_scan_helper.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -2771,27 +2576,48 @@ | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-transport/src/nvme_cmds.c:16: + from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[41/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c +[38/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: + from ../subprojects/opensea-transport/src/cmds.c:16: +../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c:833:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 833 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:975:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 975 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:1065:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1065 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:1687:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1687 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/ti_legacy_helper.c:22: + from ../subprojects/opensea-transport/src/cmds.c:23: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -2816,77 +2642,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[42/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/sata_helper_func.c:24: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/sata_helper_func.c:20: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-transport/src/sata_helper_func.c:16: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[43/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c +[39/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -2956,21 +2712,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[44/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -c ../subprojects/opensea-transport/src/usb_hacks.c +[40/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/usb_hacks.c:18: -../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/usb_hacks.c:26: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-transport/src/sata_helper_func.c:24: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -2987,7 +2733,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/usb_hacks.c:22: + from ../subprojects/opensea-transport/src/sata_helper_func.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3028,14 +2774,15 @@ 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-transport/src/sata_helper_func.c:16: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[45/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -c ../subprojects/opensea-transport/src/ata_legacy_cmds.c +[41/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -c ../subprojects/opensea-transport/src/ata_legacy_cmds.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, @@ -3105,27 +2852,26 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[46/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c +[42/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/buffer_test.c:16: -../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: + from ../subprojects/opensea-transport/src/nvme_helper.c:14: +../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:75:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: +../subprojects/opensea-transport/src/nvme_helper.c:598:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 598 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:97:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); +../subprojects/opensea-transport/src/nvme_helper.c:599:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 599 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/buffer_test.c:25: + from ../subprojects/opensea-transport/src/nvme_helper.c:23: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -3142,8 +2888,25 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-transport/src/nvme_helper.c:22: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/buffer_test.c:20: + from ../subprojects/opensea-transport/src/nvme_helper.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3191,35 +2954,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[47/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c +[43/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/ata_helper.c:13: -../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:374:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1268:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1957:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1957 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/ata_helper.c:21: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-transport/src/nvme_cmds.c:24: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -3236,7 +2975,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/ata_helper.c:17: + from ../subprojects/opensea-transport/src/nvme_cmds.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3277,62 +3016,42 @@ 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-transport/src/nvme_cmds.c:16: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[48/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c +[44/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/common_public.c:14: -../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1273:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1273 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-transport/src/ata_helper.c:13: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1366 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c:374:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/common_public.c:1368:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1368 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘seagate_External_SN_Cleanup’: +../subprojects/opensea-transport/src/ata_helper.c:1268:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/common_public.c:2017:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2017 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. +../subprojects/opensea-transport/src/ata_helper.c:1957:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1957 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:2032:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2032 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:2033:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2033 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: -../subprojects/opensea-transport/src/common_public.c:3583:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 3583 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, - | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/common_public.c:23: + from ../subprojects/opensea-transport/src/ata_helper.c:21: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -3350,7 +3069,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/common_public.c:18: + from ../subprojects/opensea-transport/src/ata_helper.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3398,79 +3117,59 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[49/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -c ../subprojects/opensea-operations/src/ata_Security.c +[45/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/ata_Security.c:17: -../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:40:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 40 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityBuf, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: +../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../subprojects/opensea-transport/src/ti_legacy_helper.c:22: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[46/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -c ../subprojects/opensea-transport/src/usb_hacks.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-transport/src/usb_hacks.c:18: +../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); +../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1283:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1283 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1319:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1319 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1324:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/ata_Security.c:26: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/ata_Security.c:25: + from ../subprojects/opensea-transport/src/usb_hacks.c:26: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -3487,7 +3186,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/ata_Security.c:21: + from ../subprojects/opensea-transport/src/usb_hacks.c:22: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3535,114 +3234,28 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[50/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c +[47/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/depopulate.c:16: -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-operations/src/buffer_test.c:16: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:108:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/buffer_test.c:75:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:338:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 338 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 340 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:343:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 343 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:618:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 618 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element2’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:896:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 896 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1063:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1139:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1178:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1178 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/buffer_test.c:97:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1236:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1358:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1358 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/depopulate.c:26: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/depopulate.c:25: + from ../subprojects/opensea-operations/src/buffer_test.c:25: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -3659,7 +3272,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/depopulate.c:20: + from ../subprojects/opensea-operations/src/buffer_test.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3707,165 +3320,55 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[51/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c +[48/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/include/common_public.h:16, - from ../subprojects/opensea-transport/include/ata_helper.h:15, - from ../subprojects/opensea-operations/include/operations_Common.h:20, - from ../subprojects/opensea-operations/include/cdl.h:18, - from ../subprojects/opensea-operations/src/cdl.c:16: -../subprojects/opensea-operations/src/cdl.c: In function ‘print_ATA_CDL_Settings’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(char, inactivePolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:620:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 620 | DECLARE_ZERO_INIT_ARRAY(char, activePolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:627:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 627 | DECLARE_ZERO_INIT_ARRAY(char, totalPolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:636:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 636 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:648:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 648 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 675 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/cdl.c: In function ‘print_SCSI_CDL_Settings’: + from ../subprojects/opensea-transport/src/common_public.c:14: +../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:720:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 720 | DECLARE_ZERO_INIT_ARRAY(char, inactivePolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c:1273:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1273 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 723 | DECLARE_ZERO_INIT_ARRAY(char, activePolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1366 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:726:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 726 | DECLARE_ZERO_INIT_ARRAY(char, commandDurationGuidelinePolicyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c:1368:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1368 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘seagate_External_SN_Cleanup’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:730:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_CDL_PERFORMANCE_VS_CMD_COMPLETION_STATUS_STRING_LENGTH); +../subprojects/opensea-transport/src/common_public.c:2017:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2017 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:742:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 742 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:773:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 773 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/cdl.c: In function ‘is_Valid_ATA_Config_CDL_Settings’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1310:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1310 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1341:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1341 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1359:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1359 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1374 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1390:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1390 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/cdl.c: In function ‘is_Valid_SCSI_Config_CDL_Settings’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1445:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1445 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1458 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1472:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1472 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1507:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1507 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/cdl.c:1520:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1520 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); +../subprojects/opensea-transport/src/common_public.c:2032:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2032 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/cdl.c:1534:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1534 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); +../subprojects/opensea-transport/src/common_public.c:2033:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2033 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: +../subprojects/opensea-transport/src/common_public.c:3583:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 3583 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, + | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/cdl.c:20: + from ../subprojects/opensea-transport/src/common_public.c:23: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -3883,7 +3386,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/cdl.c:18: + from ../subprojects/opensea-transport/src/common_public.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -3931,7 +3434,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[52/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c +[49/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -4206,51 +3709,64 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[53/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -c ../subprojects/opensea-transport/src/scsi_helper.c +[50/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -c ../subprojects/opensea-operations/src/ata_Security.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-transport/src/scsi_helper.c:13: -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: + from ../subprojects/opensea-operations/src/ata_Security.c:17: +../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2274:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2274 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c:40:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 40 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityBuf, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2275 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2276:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2276 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2511:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2511 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: +../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3086:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); +../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3411:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3411 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c:1283:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1283 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1319:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1319 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1324:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-transport/src/scsi_helper.c:23: + from ../subprojects/opensea-operations/src/ata_Security.c:26: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -4265,7 +3781,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/scsi_helper.c:22: + from ../subprojects/opensea-operations/src/ata_Security.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -4281,25 +3797,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-transport/src/scsi_helper.c:21: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/scsi_helper.c:17: + from ../subprojects/opensea-operations/src/ata_Security.c:21: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -4347,337 +3846,166 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[54/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +[51/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/firmware_download.c:16: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_ATA_ID_Data_Log_Supported_FWDL_Modes’: + from ../subprojects/opensea-transport/include/common_public.h:16, + from ../subprojects/opensea-transport/include/ata_helper.h:15, + from ../subprojects/opensea-operations/include/operations_Common.h:20, + from ../subprojects/opensea-operations/include/cdl.h:18, + from ../subprojects/opensea-operations/src/cdl.c:16: +../subprojects/opensea-operations/src/cdl.c: In function ‘print_ATA_CDL_Settings’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:872:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_NVMe_Supported_FWDL_Modes’: +../subprojects/opensea-operations/src/cdl.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(char, inactivePolicyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1023:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); +../subprojects/opensea-operations/src/cdl.c:620:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 620 | DECLARE_ZERO_INIT_ARRAY(char, activePolicyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_SCSI_ReadBuffer_FWDL_Boundary’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1407:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1407 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-operations/src/cdl.c:627:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 627 | DECLARE_ZERO_INIT_ARRAY(char, totalPolicyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1706:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1706 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/firmware_download.c:25: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/firmware_download.c:20: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[55/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/host_erase.c:26: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/host_erase.c:21: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-operations/src/host_erase.c:17: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[56/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/dst.c:16: -../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: +../subprojects/opensea-operations/src/cdl.c:636:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 636 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: +../subprojects/opensea-operations/src/cdl.c:648:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 648 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: +../subprojects/opensea-operations/src/cdl.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 675 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c: In function ‘print_SCSI_CDL_Settings’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); +../subprojects/opensea-operations/src/cdl.c:720:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 720 | DECLARE_ZERO_INIT_ARRAY(char, inactivePolicyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); +../subprojects/opensea-operations/src/cdl.c:723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 723 | DECLARE_ZERO_INIT_ARRAY(char, activePolicyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/cdl.c:726:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 726 | DECLARE_ZERO_INIT_ARRAY(char, commandDurationGuidelinePolicyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/cdl.c:730:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_CDL_PERFORMANCE_VS_CMD_COMPLETION_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); +../subprojects/opensea-operations/src/cdl.c:742:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 742 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: +../subprojects/opensea-operations/src/cdl.c:773:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 773 | DECLARE_ZERO_INIT_ARRAY(char, policyTranslation, MAX_POLICY_STRING_LENGHT); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c: In function ‘is_Valid_ATA_Config_CDL_Settings’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); +../subprojects/opensea-operations/src/cdl.c:1310:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1310 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c:1325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: +../subprojects/opensea-operations/src/cdl.c:1341:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1341 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1999:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1999 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-operations/src/cdl.c:1359:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1359 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2059:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2059 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: +../subprojects/opensea-operations/src/cdl.c:1374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1374 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2203:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2203 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/cdl.c:1390:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1390 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c: In function ‘is_Valid_SCSI_Config_CDL_Settings’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2308 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); +../subprojects/opensea-operations/src/cdl.c:1445:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1445 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2392:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2392 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c:1458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1458 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2399:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2399 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/cdl.c:1472:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1472 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2414:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2414 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/cdl.c:1507:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1507 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2419:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2419 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c:1520:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1520 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2420:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2420 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/dst.c:26: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ +../subprojects/opensea-operations/src/cdl.c:1534:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1534 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/dst.c:25: + from ../subprojects/opensea-operations/src/cdl.c:20: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -4694,7 +4022,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/dst.c:20: + from ../subprojects/opensea-operations/src/cdl.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -4742,54 +4070,99 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[57/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c +[52/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/format.c:16: -../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: + from ../subprojects/opensea-operations/src/depopulate.c:16: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:108:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:783:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 783 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/depopulate.c:338:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 338 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:847:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 847 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); +../subprojects/opensea-operations/src/depopulate.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 340 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:892:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 892 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/depopulate.c:343:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 343 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1386:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1386 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c:618:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 618 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element2’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1387:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1387 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c:896:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 896 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1063:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1139:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1178:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1178 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1236:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1358:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1358 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/format.c:26: + from ../subprojects/opensea-operations/src/depopulate.c:26: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -4804,7 +4177,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/format.c:25: + from ../subprojects/opensea-operations/src/depopulate.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -4821,7 +4194,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/format.c:20: + from ../subprojects/opensea-operations/src/depopulate.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -4869,7 +4242,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[58/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c +[53/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/string_utils.h:18, @@ -4939,66 +4312,66 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[59/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -c ../subprojects/opensea-operations/src/nvme_operations.c +[54/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -c ../subprojects/opensea-transport/src/scsi_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/nvme_operations.c:14: -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:96:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 96 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: + from ../subprojects/opensea-transport/src/scsi_helper.c:13: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); +../subprojects/opensea-transport/src/scsi_helper.c:2274:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2274 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:442:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 442 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c:2275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2275 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:443:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 443 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c:2276:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2276 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:464:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 464 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/scsi_helper.c:2511:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2511 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:543:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 543 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:581:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); +../subprojects/opensea-transport/src/scsi_helper.c:3086:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:716:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 716 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c:3411:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3411 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-transport/src/scsi_helper.c:23: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/nvme_operations.c:22: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-transport/src/scsi_helper.c:22: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5014,8 +4387,25 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-transport/src/scsi_helper.c:21: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/nvme_operations.c:18: + from ../subprojects/opensea-transport/src/scsi_helper.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5063,142 +4453,42 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[60/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c +[55/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/sas_phy.c:16: -../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: + from ../subprojects/opensea-operations/src/firmware_download.c:16: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_ATA_ID_Data_Log_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); +../subprojects/opensea-operations/src/firmware_download.c:872:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/sas_phy.c:24: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/sas_phy.c:20: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/sanitize.c:16: -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_NVMe_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../subprojects/opensea-operations/src/firmware_download.c:1023:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_SCSI_ReadBuffer_FWDL_Boundary’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/firmware_download.c:1407:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1407 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:300:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 300 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/sanitize.c:26: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c:1706:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1706 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/sanitize.c:25: + from ../subprojects/opensea-operations/src/firmware_download.c:25: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5215,7 +4505,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/sanitize.c:20: + from ../subprojects/opensea-operations/src/firmware_download.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5263,7 +4553,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[62/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c +[56/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -5472,21 +4762,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[63/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c +[57/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/sector_repair.c:15: -../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, - | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/sector_repair.c:24: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-operations/src/host_erase.c:26: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5502,25 +4782,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-operations/src/sector_repair.c:23: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/sector_repair.c:19: + from ../subprojects/opensea-operations/src/host_erase.c:21: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5561,42 +4824,175 @@ 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-operations/src/host_erase.c:17: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -c ../subprojects/opensea-operations/src/set_max_lba.c +[58/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/set_max_lba.c:16: -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘get_ATA_MaxLBA’: + from ../subprojects/opensea-operations/src/dst.c:16: +../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:373:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 373 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); +../subprojects/opensea-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: +../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:435:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 435 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: +../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:511:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 511 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1999:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1999 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2059:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2059 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2203:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2203 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2308 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2392:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2392 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2399:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2399 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2414:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2414 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2419:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2419 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2420:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2420 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-operations/src/dst.c:26: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/set_max_lba.c:25: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-operations/src/dst.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5613,7 +5009,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/set_max_lba.c:20: + from ../subprojects/opensea-operations/src/dst.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5661,25 +5057,11 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[65/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c +[59/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/writesame.c:26: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/writesame.c:25: + from ../subprojects/opensea-transport/src/ata_cmds.c:24: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5696,7 +5078,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/writesame.c:20: + from ../subprojects/opensea-transport/src/ata_cmds.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5738,46 +5120,61 @@ | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-operations/src/writesame.c:16: + from ../subprojects/opensea-transport/src/ata_cmds.c:16: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[66/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c +[60/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/generic_tests.c:16: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: + from ../subprojects/opensea-operations/src/format.c:16: +../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); +../subprojects/opensea-operations/src/format.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: +../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); +../subprojects/opensea-operations/src/format.c:783:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 783 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); +../subprojects/opensea-operations/src/format.c:847:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 847 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); +../subprojects/opensea-operations/src/format.c:892:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 892 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/format.c:1386:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1386 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/format.c:1387:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1387 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/generic_tests.c:26: + from ../subprojects/opensea-operations/src/format.c:26: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -5792,7 +5189,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/generic_tests.c:25: + from ../subprojects/opensea-operations/src/format.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -5809,7 +5206,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/generic_tests.c:20: + from ../subprojects/opensea-operations/src/format.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -5857,243 +5254,65 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[67/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c +[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -c ../subprojects/opensea-operations/src/nvme_operations.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/reservations.c:20: -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:140:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: + from ../subprojects/opensea-operations/src/nvme_operations.c:14: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:604:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 604 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); +../subprojects/opensea-operations/src/nvme_operations.c:96:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 96 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: +../subprojects/opensea-operations/src/nvme_operations.c:427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); +../subprojects/opensea-operations/src/nvme_operations.c:442:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 442 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:762:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 762 | DECLARE_ZERO_INIT_ARRAY( +../subprojects/opensea-operations/src/nvme_operations.c:443:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 443 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 992 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:995:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 995 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); +../subprojects/opensea-operations/src/nvme_operations.c:464:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 464 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1124:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1124 | DECLARE_ZERO_INIT_ARRAY( +../subprojects/opensea-operations/src/nvme_operations.c:543:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 543 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1478:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1478 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1480:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1480 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); +../subprojects/opensea-operations/src/nvme_operations.c:581:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1671:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1689 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1712:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1874 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1928:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1928 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1951 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1997:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1997 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/reservations.c:28: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/reservations.c:24: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[68/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/trim_unmap.c:15: -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:34:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c:716:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 716 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/trim_unmap.c:23: + from ../subprojects/opensea-operations/src/nvme_operations.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -6111,7 +5330,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/trim_unmap.c:19: + from ../subprojects/opensea-operations/src/nvme_operations.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -6159,7 +5378,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[69/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c +[62/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -6854,119 +6073,49 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[70/156] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[71/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -[72/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-transport/src/ata_cmds.c:24: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-transport/src/ata_cmds.c:20: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-transport/src/ata_cmds.c:16: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[73/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -c ../subprojects/opensea-operations/src/zoned_operations.c +[63/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/zoned_operations.c:14: -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: + from ../subprojects/opensea-operations/src/sanitize.c:16: +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/sanitize.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); +../subprojects/opensea-operations/src/sanitize.c:300:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 300 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-operations/src/sanitize.c:26: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/zoned_operations.c:22: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-operations/src/sanitize.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -6983,7 +6132,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/zoned_operations.c:18: + from ../subprojects/opensea-operations/src/sanitize.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7031,27 +6180,34 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[74/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -c ../subprojects/opensea-operations/src/ata_device_config_overlay.c +[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: + from ../subprojects/opensea-operations/src/sas_phy.c:16: +../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: +../subprojects/opensea-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:23: + from ../subprojects/opensea-operations/src/sas_phy.c:24: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -7069,7 +6225,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:19: + from ../subprojects/opensea-operations/src/sas_phy.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7117,35 +6273,54 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[75/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c +[65/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/sata_phy.c:16: -../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: + from ../subprojects/opensea-operations/src/generic_tests.c:16: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:128:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:191:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 191 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-operations/src/generic_tests.c:26: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/sata_phy.c:24: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-operations/src/generic_tests.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -7162,7 +6337,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/sata_phy.c:20: + from ../subprojects/opensea-operations/src/generic_tests.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7210,85 +6385,20 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[76/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c +[66/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/power_control.c:16: -../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: + from ../subprojects/opensea-operations/src/sector_repair.c:15: +../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2688:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/power_control.c:25: + from ../subprojects/opensea-operations/src/sector_repair.c:24: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -7305,8 +6415,25 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-operations/src/sector_repair.c:23: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/power_control.c:20: + from ../subprojects/opensea-operations/src/sector_repair.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7354,7 +6481,7 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[77/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -c ../subprojects/opensea-operations/src/operations.c +[67/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -c ../subprojects/opensea-operations/src/operations.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -7576,218 +6703,157 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[78/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_EULA.c.o -MF openSeaChest_Basics.p/src_EULA.c.o.d -o openSeaChest_Basics.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[79/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -c ../subprojects/opensea-operations/src/logs.c +[68/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/logs.c:13: -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: + from ../subprojects/opensea-operations/src/reservations.c:20: +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3358:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3358 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); +../subprojects/opensea-operations/src/reservations.c:140:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3424:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3424 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: +../subprojects/opensea-operations/src/reservations.c:604:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 604 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3973:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3973 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: +../subprojects/opensea-operations/src/reservations.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4094:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4094 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4128 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: +../subprojects/opensea-operations/src/reservations.c:762:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 762 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4282:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4282 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: +../subprojects/opensea-operations/src/reservations.c:992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 992 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4326:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4326 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: +../subprojects/opensea-operations/src/reservations.c:995:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 995 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4383:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4383 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/logs.c:23: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/logs.c:22: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/logs.c:17: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[80/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/seagate_operations.c:16: -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Low_Current_Spin_Up_Enabled’: +../subprojects/opensea-operations/src/reservations.c:1124:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1124 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:326:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/reservations.c:1478:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1478 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:479:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 479 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); +../subprojects/opensea-operations/src/reservations.c:1480:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1480 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: +../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:554:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 554 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: +../subprojects/opensea-operations/src/reservations.c:1671:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1559:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1559 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); +../subprojects/opensea-operations/src/reservations.c:1689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1689 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1574:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); +../subprojects/opensea-operations/src/reservations.c:1712:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1836:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1836 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: +../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:2115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2115 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:2117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2117 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: +../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:3321:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3321 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); +../subprojects/opensea-operations/src/reservations.c:1830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1874 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1928:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1928 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1951 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1997:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1997 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/seagate_operations.c:25: + from ../subprojects/opensea-operations/src/reservations.c:28: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -7805,7 +6871,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/seagate_operations.c:20: + from ../subprojects/opensea-operations/src/reservations.c:24: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7853,30 +6919,34 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[81/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_EULA.c.o -MF openSeaChest_Configure.p/src_EULA.c.o.d -o openSeaChest_Configure.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[82/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c +[69/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -c ../subprojects/opensea-operations/src/set_max_lba.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/partition_info.c:18: -../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: + from ../subprojects/opensea-operations/src/set_max_lba.c:16: +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘get_ATA_MaxLBA’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); +../subprojects/opensea-operations/src/set_max_lba.c:373:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 373 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/set_max_lba.c:435:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 435 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c:511:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 511 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/partition_info.c:27: + from ../subprojects/opensea-operations/src/set_max_lba.c:25: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -7893,25 +6963,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, - from ../subprojects/opensea-operations/src/partition_info.c:26: -../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] - 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] - 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] - 69 | constexpr void* nullalgvoid = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] - 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; - | ^~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] - 57 | constexpr comparefn nullcompare = M_NULLPTR; - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/partition_info.c:22: + from ../subprojects/opensea-operations/src/set_max_lba.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -7959,59 +7012,25 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[83/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_EULA.c.o -MF openSeaChest_Defect.p/src_EULA.c.o.d -o openSeaChest_Defect.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[84/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_EULA.c.o -MF openSeaChest_Erase.p/src_EULA.c.o.d -o openSeaChest_Erase.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[85/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_EULA.c.o -MF openSeaChest_Firmware.p/src_EULA.c.o.d -o openSeaChest_Firmware.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[86/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c +[70/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: -../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 80 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 81 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 82 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 83 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-operations/src/writesame.c:26: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:20: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../subprojects/opensea-operations/src/writesame.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -8027,16 +7046,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:18: + from ../subprojects/opensea-operations/src/writesame.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -8076,82 +7087,94 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[87/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -MF openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o.d -o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -c ../utils/C/openSeaChest/openSeaChest_Basics.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-operations/src/writesame.c:16: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[71/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: -../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/power_control.c:16: +../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ +../subprojects/opensea-operations/src/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 92 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 93 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 94 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:95:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 95 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:113:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 113 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2238:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2238 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2239:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2239 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2299:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2299 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2300:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2300 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2688:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:24: + from ../subprojects/opensea-operations/src/power_control.c:25: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -8168,16 +7191,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:20: + from ../subprojects/opensea-operations/src/power_control.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -8217,10 +7232,15 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[88/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_EULA.c.o -MF openSeaChest_Format.p/src_EULA.c.o.d -o openSeaChest_Format.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[89/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[72/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -8845,345 +7865,28 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[90/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -c ../subprojects/opensea-operations/src/drive_info.c +[73/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/drive_info.c:14: -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:759:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 759 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1415 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1848:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1848 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_ID_Data_Log’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:2472:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2472 | DECLARE_ZERO_INIT_ARRAY(char, zacMinorVersion, 36); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Information’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3196:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3196 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3465:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3465 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3674:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3674 | DECLARE_ZERO_INIT_ARRAY(char, versionDescriptorString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_VPD_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4156:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4156 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4160:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4160 | DECLARE_ZERO_INIT_ARRAY(char, lbprzStr, 22); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Mode_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5124:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5124 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5268:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5268 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5467:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5467 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5513:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5513 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5616:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5616 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5678:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5678 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5807:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5807 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5824:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5824 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5887:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5887 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5905:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5905 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5945:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5945 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5996:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5996 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6037:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6037 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6181:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6181 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6289:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6289 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6408:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6408 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6589:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6589 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6644:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6644 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6677:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6677 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6692:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6692 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7481:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7537:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7537 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedSecurityProtocols, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Log_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7895:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8030:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8030 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8046:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8046 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8047 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8057:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8057 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8058:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8058 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8198 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8205:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8205 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8244:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8244 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8245:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8245 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8257:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8257 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8258:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8258 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8270:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8270 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8271:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8271 | DECLARE_ZERO_INIT_ARRAY(char, utilizationUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘print_SAS_Sata_Device_Information’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8357 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8358:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8358 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-operations/src/trim_unmap.c:15: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:9011:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9011 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/trim_unmap.c:34:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:9024:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9024 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/drive_info.c:23: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/drive_info.c:22: + from ../subprojects/opensea-operations/src/trim_unmap.c:23: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -9200,7 +7903,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/drive_info.c:18: + from ../subprojects/opensea-operations/src/trim_unmap.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -9248,76 +7951,48 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[91/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c +[74/156] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[75/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o +[76/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -c ../subprojects/opensea-operations/src/zoned_operations.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: -../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 115 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 121 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/zoned_operations.c:14: +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ +../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 122 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 123 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 124 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 125 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1367 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 126 | CHILD_NEW_FW_MATCH_VARS +../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:25: + from ../subprojects/opensea-operations/src/zoned_operations.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -9334,16 +8009,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:21: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:19: + from ../subprojects/opensea-operations/src/zoned_operations.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -9383,299 +8050,76 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[92/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_EULA.c.o -MF openSeaChest_GenericTests.p/src_EULA.c.o.d -o openSeaChest_GenericTests.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[93/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -MF openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o.d -o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -c ../utils/C/openSeaChest/openSeaChest_Erase.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: -../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 108 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 109 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 110 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:111:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 111 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 331 | DECLARE_ZERO_INIT_ARRAY( \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:119:5: note: in expansion of macro ‘PATTERN_VARS’ - 119 | PATTERN_VARS - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:2650:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2650 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:134:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 134 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1178:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1178 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1187:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1187 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1196:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1196 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1962:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1962 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1963:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1963 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:25: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:21: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:19: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[94/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_EULA.c.o -MF openSeaChest_Info.p/src_EULA.c.o.d -o openSeaChest_Info.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[95/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -c ../subprojects/opensea-operations/src/farm_log.c +[77/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -c ../subprojects/opensea-operations/src/logs.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/farm_log.c:16: -../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-operations/src/logs.c:13: +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:3358:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3358 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); +../subprojects/opensea-operations/src/logs.c:3424:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3424 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:3973:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3973 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1164:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1164 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:4094:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4094 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1177 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:4128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4128 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1193:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1193 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); +../subprojects/opensea-operations/src/logs.c:4282:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4282 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1199 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); +../subprojects/opensea-operations/src/logs.c:4326:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4326 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1204 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); +../subprojects/opensea-operations/src/logs.c:4383:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4383 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2823:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2823 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2828:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2828 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3379:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3379 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3380:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3380 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3381:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3381 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3382:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3382 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/farm_log.c:26: + from ../subprojects/opensea-operations/src/logs.c:23: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -9690,7 +8134,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/farm_log.c:25: + from ../subprojects/opensea-operations/src/logs.c:22: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -9707,7 +8151,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/farm_log.c:20: + from ../subprojects/opensea-operations/src/logs.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -9755,61 +8199,27 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[96/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_EULA.c.o -MF openSeaChest_Logs.p/src_EULA.c.o.d -o openSeaChest_Logs.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[97/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c +[78/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -c ../subprojects/opensea-operations/src/ata_device_config_overlay.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Format.c:18: -../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 331 | DECLARE_ZERO_INIT_ARRAY( \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ - 97 | PATTERN_VARS - | ^~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Format.c:24: + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:23: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -9826,16 +8236,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Format.c:20: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Format.c:19: + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -9875,171 +8277,42 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[98/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:23: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:22: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:21: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:19: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[99/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c +[79/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: -../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/sata_phy.c:16: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c:128:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c:160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c:191:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 191 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Info.c:21: + from ../subprojects/opensea-operations/src/sata_phy.c:24: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -10056,16 +8329,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Info.c:20: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Info.c:19: + from ../subprojects/opensea-operations/src/sata_phy.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -10105,88 +8370,85 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[100/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[80/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_EULA.c.o -MF openSeaChest_Basics.p/src_EULA.c.o.d -o openSeaChest_Basics.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: -../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 88 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +[81/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/seagate_operations.c:16: +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Low_Current_Spin_Up_Enabled’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 89 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:326:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 90 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:479:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 479 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 91 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:554:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 554 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2830:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2830 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ - 127 | SCSI_SET_MP_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:1559:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1559 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:1574:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/seagate_operations.c:1836:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1836 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:2115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2115 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:2117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2117 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:3321:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3321 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:22: + from ../subprojects/opensea-operations/src/seagate_operations.c:25: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -10203,16 +8465,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:19: + from ../subprojects/opensea-operations/src/seagate_operations.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -10252,242 +8506,36 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[101/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_openseachest_util_options.c.o -MF openSeaChest_Configure.p/src_openseachest_util_options.c.o.d -o openSeaChest_Configure.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[102/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_EULA.c.o -MF openSeaChest_NVMe.p/src_EULA.c.o.d -o openSeaChest_NVMe.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[103/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[82/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/partition_info.c:18: +../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[104/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: + from ../subprojects/opensea-operations/src/partition_info.c:27: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -10503,16 +8551,25 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/sort_and_search.h:20, + from ../subprojects/opensea-operations/src/partition_info.c:26: +../subprojects/opensea-common/include/impl_sort_and_search.h:73:24: warning: ‘nullalgrsizet’ defined but not used [-Wunused-const-variable=] + 73 | constexpr rsize_t* nullalgrsizet = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:71:27: warning: ‘nullalgconstvoid’ defined but not used [-Wunused-const-variable=] + 71 | constexpr const void* nullalgconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:69:21: warning: ‘nullalgvoid’ defined but not used [-Wunused-const-variable=] + 69 | constexpr void* nullalgvoid = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:58:28: warning: ‘nullctxcompare’ defined but not used [-Wunused-const-variable=] + 58 | constexpr ctxcomparefn nullctxcompare = M_NULLPTR; + | ^~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_sort_and_search.h:57:28: warning: ‘nullcompare’ defined but not used [-Wunused-const-variable=] + 57 | constexpr comparefn nullcompare = M_NULLPTR; + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: + from ../subprojects/opensea-operations/src/partition_info.c:22: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -10552,493 +8609,344 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[105/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_openseachest_util_options.c.o -MF openSeaChest_Erase.p/src_openseachest_util_options.c.o.d -o openSeaChest_Erase.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ -In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: -../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] - 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] - 52 | constexpr const char** nullconstdblstr = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] - 50 | constexpr const char* nullconststr = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] - 47 | constexpr char** nulldblstr = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] - 45 | constexpr char* nullstr = M_NULLPTR; - | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../subprojects/opensea-common/include/bit_manip.h:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: -../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] - 55 | constexpr long double* nullldouble = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] - 54 | constexpr double* nulldouble = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] - 53 | constexpr float* nullfloat = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] - 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] - 51 | constexpr intmax_t* nullintmax = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] - 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] - 49 | constexpr unsigned long* nullulong = M_NULLPTR; - | ^~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] - 48 | constexpr long long* nulllonglong = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] - 47 | constexpr long* nulllong = M_NULLPTR; - | ^~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] - 46 | constexpr int* nullint = M_NULLPTR; - | ^~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] - 45 | constexpr const char* nullioconstchar = M_NULLPTR; - | ^~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] - 44 | constexpr char* nulliochar = M_NULLPTR; - | ^~~~~~~~~~ -../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] - 43 | constexpr FILE* nullstreamptr = M_NULLPTR; - | ^~~~~~~~~~~~~ -[106/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c +[83/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_EULA.c.o -MF openSeaChest_Configure.p/src_EULA.c.o.d -o openSeaChest_Configure.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[84/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_EULA.c.o -MF openSeaChest_Defect.p/src_EULA.c.o.d -o openSeaChest_Defect.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[85/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -c ../subprojects/opensea-operations/src/drive_info.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, - from ../subprojects/opensea-operations/src/smart.c:16: -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1095:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1095 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1224:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1224 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ + from ../subprojects/opensea-operations/src/drive_info.c:14: +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1225 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:759:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 759 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1226:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1226 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1415 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1227 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:1848:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1848 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_ID_Data_Log’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1228:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1228 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:2472:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2472 | DECLARE_ZERO_INIT_ARRAY(char, zacMinorVersion, 36); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1229:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1229 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:3128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Information’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:1374:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1374 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: +../subprojects/opensea-operations/src/drive_info.c:3196:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3196 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:2830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: +../subprojects/opensea-operations/src/drive_info.c:3465:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3465 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3005:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3005 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:3674:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3674 | DECLARE_ZERO_INIT_ARRAY(char, versionDescriptorString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_VPD_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3072:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3072 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: +../subprojects/opensea-operations/src/drive_info.c:4156:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4156 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3182 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:4160:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4160 | DECLARE_ZERO_INIT_ARRAY(char, lbprzStr, 22); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Mode_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3213:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3213 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:5124:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5124 | DECLARE_ZERO_INIT_ARRAY( | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3596:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3596 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: +../subprojects/opensea-operations/src/drive_info.c:5268:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5268 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3773:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3773 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: +../subprojects/opensea-operations/src/drive_info.c:5467:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5467 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3805:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3805 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:5513:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5513 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3846:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3846 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pendingLog, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Grown_List_Count’: +../subprojects/opensea-operations/src/drive_info.c:5616:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5616 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3876:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3876 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:5678:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5678 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:3913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, defectData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘sct_Get_Min_Recovery_Time_Limit’: +../subprojects/opensea-operations/src/drive_info.c:5807:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5807 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:4284:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4284 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Attribute_Autosave’: +../subprojects/opensea-operations/src/drive_info.c:5824:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5824 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:4580:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4580 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Auto_Offline’: +../subprojects/opensea-operations/src/drive_info.c:5887:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5887 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:4609:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Info’: +../subprojects/opensea-operations/src/drive_info.c:5905:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5905 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:4645:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4645 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Summary_SMART_Error_Log’: +../subprojects/opensea-operations/src/drive_info.c:5945:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5945 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5076:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5076 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, ATA_LOG_PAGE_LEN_BYTES); // This log is only 1 page in spec - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Comprehensive_SMART_Error_Log’: +../subprojects/opensea-operations/src/drive_info.c:5996:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5996 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5243:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6037:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6037 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5879:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5879 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6181:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6181 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6032 | DECLARE_ZERO_INIT_ARRAY(char, subCommandName, DOWNLOAD_COMMAND_SUBCOMMAND_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Trusted_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6289:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6289 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6072:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6072 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: +../subprojects/opensea-operations/src/drive_info.c:6408:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6408 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6173 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../subprojects/opensea-operations/src/drive_info.c:6589:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6589 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6254 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, SMART_LOG_ADDRESS_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6644:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6644 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6432:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6432 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6677:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6677 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6554:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6554 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:6692:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6692 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6751 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c:7481:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6986:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6986 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:7537:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7537 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7014:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7014 | DECLARE_ZERO_INIT_ARRAY(char, hardwareFeatureName, HARDWARE_FEATURE_NAME_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:7615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedSecurityProtocols, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Set_Features_Command_Info’: +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Log_Data’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7092:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7092 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:7895:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7134:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7134 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:8030:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8030 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7187 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8046:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8046 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7340 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8047 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7426:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7426 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8057:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8057 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7695 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8058:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8058 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7875 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7942:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7942 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8198 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7951 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8205:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8205 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7960:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7960 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, NCQ_ZAC_MANAGEMENT_OUT_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8244:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8244 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Receive_FPDMA_Command_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7992:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7992 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8245:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8245 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8001:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8001 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtInString, NCQ_ZAC_MANAGEMENT_IN_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8257:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8257 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Send_FPDMA_Command_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8050:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8050 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8258:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8258 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8059:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8059 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, SEND_FPDMA_ZAC_MANAGEMENT_OUT_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8270:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8270 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Command_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8302:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8302 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8271:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8271 | DECLARE_ZERO_INIT_ARRAY(char, utilizationUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: +../subprojects/opensea-operations/src/drive_info.c: In function ‘print_SAS_Sata_Device_Information’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8958:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8958 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8357 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8959:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8959 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); +../subprojects/opensea-operations/src/drive_info.c:8358:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8358 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9301:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9301 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9401:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9401 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:9492:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9492 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Summary_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9639:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9639 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9685:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9685 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:9011:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9011 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:9725:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9725 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c:9024:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9024 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../subprojects/opensea-operations/src/smart.c:26: + from ../subprojects/opensea-operations/src/drive_info.c:23: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -11053,7 +8961,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../subprojects/opensea-operations/src/smart.c:25: + from ../subprojects/opensea-operations/src/drive_info.c:22: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -11070,7 +8978,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../subprojects/opensea-operations/src/smart.c:20: + from ../subprojects/opensea-operations/src/drive_info.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -11118,41 +9026,83 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[107/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[86/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -MF openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o.d -o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -c ../utils/C/openSeaChest/openSeaChest_Basics.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: +../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 92 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 93 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 94 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:95:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 95 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:113:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 113 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2238:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2238 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2239:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2239 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2299:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2299 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2300:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2300 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: + from ../utils/C/openSeaChest/openSeaChest_Basics.c:24: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -11169,7 +9119,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -11177,7 +9127,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: + from ../utils/C/openSeaChest/openSeaChest_Basics.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -11217,26 +9167,140 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[108/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_openseachest_util_options.c.o -MF openSeaChest_Format.p/src_openseachest_util_options.c.o.d -o openSeaChest_Format.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[87/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_EULA.c.o -MF openSeaChest_Erase.p/src_EULA.c.o.d -o openSeaChest_Erase.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +[88/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -c ../subprojects/opensea-operations/src/farm_log.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/farm_log.c:16: +../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1164:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1164 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1177 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1193:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1193 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1199 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1204 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2823:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2823 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2828:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2828 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3379:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3379 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3380:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3380 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3381:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3381 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3382:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3382 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: + from ../subprojects/opensea-operations/src/farm_log.c:26: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -11251,7 +9315,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: + from ../subprojects/opensea-operations/src/farm_log.c:25: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -11267,8 +9331,116 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../subprojects/opensea-operations/src/farm_log.c:20: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[89/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: +../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 80 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 81 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 82 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 83 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_Defect.c:20: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -11276,7 +9448,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: + from ../utils/C/openSeaChest/openSeaChest_Defect.c:18: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -11316,28 +9488,22 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[109/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_EULA.c.o -MF openSeaChest_PassthroughTest.p/src_EULA.c.o.d -o openSeaChest_PassthroughTest.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[110/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_EULA.c.o -MF openSeaChest_Raw.p/src_EULA.c.o.d -o openSeaChest_Raw.p/src_EULA.c.o -c ../src/EULA.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -[111/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_EULA.c.o -MF openSeaChest_PowerControl.p/src_EULA.c.o.d -o openSeaChest_PowerControl.p/src_EULA.c.o -c ../src/EULA.c +[90/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_EULA.c.o -MF openSeaChest_Firmware.p/src_EULA.c.o.d -o openSeaChest_Firmware.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[112/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c +[91/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:18: -../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: +../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 88 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -11345,8 +9511,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 89 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -11354,8 +9520,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 90 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -11363,11 +9529,50 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 91 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2830:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2830 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ + 127 | SCSI_SET_MP_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:22: + from ../utils/C/openSeaChest/openSeaChest_Configure.c:22: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -11385,7 +9590,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:20: + from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -11393,7 +9598,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: + from ../utils/C/openSeaChest/openSeaChest_Configure.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -11433,7 +9638,10 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[113/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c +[92/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_EULA.c.o -MF openSeaChest_Format.p/src_EULA.c.o.d -o openSeaChest_Format.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[93/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -12302,11 +10510,610 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[114/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_EULA.c.o -MF openSeaChest_Reservations.p/src_EULA.c.o.d -o openSeaChest_Reservations.p/src_EULA.c.o -c ../src/EULA.c +[94/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[115/156] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -[116/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +In file included from ../subprojects/opensea-common/include/bit_manip.h:17, + from ../subprojects/opensea-operations/src/smart.c:16: +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1095:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1095 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1224:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1224 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1225 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1226:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1226 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1227 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1228:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1228 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1229:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1229 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1374:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1374 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3005:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3005 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3072:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3072 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3182 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3213:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3213 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3596:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3596 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3773:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3773 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3805:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3805 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3846:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3846 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pendingLog, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Grown_List_Count’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3876:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3876 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, defectData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘sct_Get_Min_Recovery_Time_Limit’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4284:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4284 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Attribute_Autosave’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4580:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4580 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Auto_Offline’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4609:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4645:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4645 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Summary_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5076:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5076 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, ATA_LOG_PAGE_LEN_BYTES); // This log is only 1 page in spec + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Comprehensive_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5243:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5879:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5879 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6032 | DECLARE_ZERO_INIT_ARRAY(char, subCommandName, DOWNLOAD_COMMAND_SUBCOMMAND_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Trusted_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6072:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6072 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6173 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6254 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, SMART_LOG_ADDRESS_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6432:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6432 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6554:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6554 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6751 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6986:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6986 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7014:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7014 | DECLARE_ZERO_INIT_ARRAY(char, hardwareFeatureName, HARDWARE_FEATURE_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Set_Features_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7092:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7092 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7134:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7134 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7187 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7340 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7426:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7426 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7695 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7875 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7942:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7942 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7951 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7960:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7960 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, NCQ_ZAC_MANAGEMENT_OUT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Receive_FPDMA_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7992:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7992 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8001:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8001 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtInString, NCQ_ZAC_MANAGEMENT_IN_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Send_FPDMA_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8050:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8050 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8059:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8059 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, SEND_FPDMA_ZAC_MANAGEMENT_OUT_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Command_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8302:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8302 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8958:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8958 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8959:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8959 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9301:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9301 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9401:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9401 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9492:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9492 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Summary_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9639:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9639 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9685:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9685 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9725:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9725 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../subprojects/opensea-operations/src/smart.c:26: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../subprojects/opensea-operations/src/smart.c:25: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../subprojects/opensea-operations/src/smart.c:20: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[95/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: +../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 115 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 121 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 122 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 123 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 124 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 125 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1367 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 126 | CHILD_NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:25: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:21: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:19: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[96/156] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o +[97/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -12405,10 +11212,268 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[117/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_EULA.c.o -MF openSeaChest_Security.p/src_EULA.c.o.d -o openSeaChest_Security.p/src_EULA.c.o -c ../src/EULA.c +[98/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -MF openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o.d -o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -c ../utils/C/openSeaChest/openSeaChest_Erase.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[118/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c +In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: +../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 108 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 109 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 110 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:111:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 111 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 331 | DECLARE_ZERO_INIT_ARRAY( \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:119:5: note: in expansion of macro ‘PATTERN_VARS’ + 119 | PATTERN_VARS + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2650:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2650 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:134:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 134 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1178:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1178 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1187:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1187 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1196:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1196 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1962:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1962 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1963:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1963 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_Erase.c:25: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Erase.c:21: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_Erase.c:19: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[99/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_openseachest_util_options.c.o -MF openSeaChest_Configure.p/src_openseachest_util_options.c.o.d -o openSeaChest_Configure.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[100/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_EULA.c.o -MF openSeaChest_GenericTests.p/src_EULA.c.o.d -o openSeaChest_GenericTests.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[101/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_EULA.c.o -MF openSeaChest_Info.p/src_EULA.c.o.d -o openSeaChest_Info.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[102/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wmismatched-dealloc -Wfree-nonheap-object -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:17, @@ -12706,19 +11771,23 @@ ../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ -[119/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c +[103/156] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o +[104/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_EULA.c.o -MF openSeaChest_Logs.p/src_EULA.c.o.d -o openSeaChest_Logs.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_NVMe.c:17: -../utils/C/openSeaChest/openSeaChest_NVMe.c: In function ‘main’: +[105/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Format.c:18: +../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:89:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 89 | DOWNLOAD_FW_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 84 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -12726,35 +11795,38 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:93:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 93 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 85 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:95:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 95 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 86 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:106:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 106 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 87 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:1368:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1368 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 331 | DECLARE_ZERO_INIT_ARRAY( \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ + 97 | PATTERN_VARS + | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_NVMe.c:24: + from ../utils/C/openSeaChest/openSeaChest_Format.c:24: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -12772,7 +11844,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_NVMe.c:20: + from ../utils/C/openSeaChest/openSeaChest_Format.c:20: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -12780,7 +11852,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_NVMe.c:18: + from ../utils/C/openSeaChest/openSeaChest_Format.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -12820,8 +11892,7 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[120/156] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -[121/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[106/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_openseachest_util_options.c.o -MF openSeaChest_Erase.p/src_openseachest_util_options.c.o.d -o openSeaChest_Erase.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -12920,19 +11991,118 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[122/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c +[107/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: -../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[108/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -12940,8 +12110,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -12949,8 +12119,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -12958,11 +12128,11 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:21: + from ../utils/C/openSeaChest/openSeaChest_Info.c:21: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -12980,7 +12150,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:20: + from ../utils/C/openSeaChest/openSeaChest_Info.c:20: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -12988,7 +12158,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:19: + from ../utils/C/openSeaChest/openSeaChest_Info.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13028,22 +12198,19 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[123/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_EULA.c.o -MF openSeaChest_SMART.p/src_EULA.c.o.d -o openSeaChest_SMART.p/src_EULA.c.o -c ../src/EULA.c +[109/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[124/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c -: warning: ‘_FORTIFY_SOURCE’ redefined -: note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 73 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13051,8 +12218,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 74 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13060,8 +12227,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 75 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13069,21 +12236,26 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 76 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:3191:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3191 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 96 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:23: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:25: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:22: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -13099,8 +12271,16 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:21: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:21: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13140,36 +12320,25 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../subprojects/opensea-common/include/bit_manip.h:19, - from ../subprojects/opensea-transport/include/common_public.h:16, - from ../subprojects/opensea-transport/include/ata_helper.h:15, - from ../subprojects/opensea-operations/include/operations_Common.h:20, - from ../subprojects/opensea-operations/include/ata_Security.h:18, - from ../subprojects/opensea-operations/include/drive_info.h:15, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ -[125/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_EULA.c.o -MF openSeaChest_ZBD.p/src_EULA.c.o.d -o openSeaChest_ZBD.p/src_EULA.c.o -c ../src/EULA.c +[110/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_EULA.c.o -MF openSeaChest_NVMe.p/src_EULA.c.o.d -o openSeaChest_NVMe.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -[126/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c +[111/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_EULA.c.o -MF openSeaChest_PassthroughTest.p/src_EULA.c.o.d -o openSeaChest_PassthroughTest.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: -../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: +[112/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:18: +../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 98 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 84 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13177,8 +12346,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 99 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 85 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13186,8 +12355,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 100 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 86 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13195,39 +12364,114 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:101:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 101 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 87 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_Logs.c:22: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Logs.c:20: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[113/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_EULA.c.o -MF openSeaChest_PowerControl.p/src_EULA.c.o.d -o openSeaChest_PowerControl.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[114/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2650:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2650 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:130:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 130 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:802:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 802 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:811:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 811 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:820:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 820 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_Security.c:22: -../subprojects/opensea-common/include/impl_string_utils.h: At top level: + from ../src/openseachest_util_options.c:19: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -13244,7 +12488,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Security.c:21: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -13252,7 +12496,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_Security.c:19: + from ../src/openseachest_util_options.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13292,19 +12536,22 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[127/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c +[115/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_EULA.c.o -MF openSeaChest_Raw.p/src_EULA.c.o.d -o openSeaChest_Raw.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: -../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: +[116/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_NVMe.c:17: +../utils/C/openSeaChest/openSeaChest_NVMe.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ +../include/openseachest_util_options.h:1205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1205 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_NVMe.c:89:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 89 | DOWNLOAD_FW_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13312,65 +12559,222 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_NVMe.c:93:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 93 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ +../include/openseachest_util_options.h:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:95:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 95 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:106:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 106 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:1368:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1368 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_NVMe.c:24: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_NVMe.c:20: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_NVMe.c:18: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[117/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_EULA.c.o -MF openSeaChest_Reservations.p/src_EULA.c.o.d -o openSeaChest_Reservations.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[118/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_openseachest_util_options.c.o -MF openSeaChest_Format.p/src_openseachest_util_options.c.o.d -o openSeaChest_Format.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[119/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:22: + from ../src/openseachest_util_options.c:20: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -13385,7 +12789,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:21: + from ../src/openseachest_util_options.c:19: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -13402,7 +12806,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -13410,7 +12814,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:19: + from ../src/openseachest_util_options.c:17: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13450,23 +12854,22 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[128/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[129/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[130/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[131/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[132/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c +[120/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_EULA.c.o -MF openSeaChest_Security.p/src_EULA.c.o.d -o openSeaChest_Security.p/src_EULA.c.o -c ../src/EULA.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: +[121/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: +../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 73 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13474,8 +12877,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 74 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13483,8 +12886,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 75 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13492,11 +12895,20 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 76 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:3191:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3191 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 96 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:22: + from ../utils/C/openSeaChest/openSeaChest_Raw.c:25: ../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; @@ -13513,16 +12925,8 @@ ../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:21: -../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] - 30 | constexpr const void* nullconstvoid = M_NULLPTR; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] - 28 | constexpr void* nullvoid = M_NULLPTR; - | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:19: + from ../utils/C/openSeaChest/openSeaChest_Raw.c:21: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13562,23 +12966,33 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[133/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[134/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[135/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[136/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[137/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../subprojects/opensea-common/include/bit_manip.h:19, + from ../subprojects/opensea-transport/include/common_public.h:16, + from ../subprojects/opensea-transport/include/ata_helper.h:15, + from ../subprojects/opensea-operations/include/operations_Common.h:20, + from ../subprojects/opensea-operations/include/ata_Security.h:18, + from ../subprojects/opensea-operations/include/drive_info.h:15, + from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +[122/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -In file included from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: -../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: +../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13586,8 +13000,8 @@ ../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13595,8 +13009,8 @@ ../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -13604,17 +13018,47 @@ ../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:23: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:22: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -13629,7 +13073,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:22: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:21: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -13646,7 +13090,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:21: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:20: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -13654,7 +13098,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:20: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13694,7 +13138,7 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[138/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[123/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -13793,41 +13237,50 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[139/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[124/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: +../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: -../subprojects/opensea-common/include/impl_time_utils.h: At top level: -../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] - 35 | constexpr char* nulltimestr = M_NULLPTR; - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] - 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] - 31 | constexpr struct tm* nullstructtm = M_NULLPTR; - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] - 29 | constexpr const time_t* nulltimet = M_NULLPTR; - | ^~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:21: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -13844,7 +13297,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:20: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -13852,7 +13305,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:19: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -13892,7 +13345,7 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[140/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[125/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -13991,9 +13444,145 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[141/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[142/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[143/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -MF openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o.d -o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[126/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_EULA.c.o -MF openSeaChest_SMART.p/src_EULA.c.o.d -o openSeaChest_SMART.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[127/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: +../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 98 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 99 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 100 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:101:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 101 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2650:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2650 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:130:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 130 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:802:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 802 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:811:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 811 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:820:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 820 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_Security.c:22: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Security.c:21: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_Security.c:19: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[128/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -MF openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o.d -o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -14092,8 +13681,10 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[144/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[145/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_openseachest_util_options.c.o -MF openSeaChest_Raw.p/src_openseachest_util_options.c.o.d -o openSeaChest_Raw.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[129/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_EULA.c.o -MF openSeaChest_ZBD.p/src_EULA.c.o.d -o openSeaChest_ZBD.p/src_EULA.c.o -c ../src/EULA.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +[130/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -14192,26 +13783,58 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[146/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[131/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[132/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[133/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[134/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 199 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: +../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] - 237 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/time_utils.h:16, - from ../src/openseachest_util_options.c:20: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:23: ../subprojects/opensea-common/include/impl_time_utils.h: At top level: ../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] 35 | constexpr char* nulltimestr = M_NULLPTR; @@ -14226,7 +13849,7 @@ 29 | constexpr const time_t* nulltimet = M_NULLPTR; | ^~~~~~~~~ In file included from ../subprojects/opensea-common/include/string_utils.h:18, - from ../src/openseachest_util_options.c:19: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:22: ../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; | ^~~~~~~~~~ @@ -14243,7 +13866,7 @@ 45 | constexpr char* nullstr = M_NULLPTR; | ^~~~~~~ In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:21: ../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] 30 | constexpr const void* nullconstvoid = M_NULLPTR; | ^~~~~~~~~~~~~ @@ -14251,7 +13874,7 @@ 28 | constexpr void* nullvoid = M_NULLPTR; | ^~~~~~~~ In file included from ../subprojects/opensea-common/include/io_utils.h:23, - from ../src/openseachest_util_options.c:17: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:20: ../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] 55 | constexpr long double* nullldouble = M_NULLPTR; | ^~~~~~~~~~~ @@ -14291,9 +13914,116 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[147/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[148/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[149/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c +[135/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[136/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1297:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1297 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1311 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1339:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1339 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1353:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1353 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:22: +../subprojects/opensea-common/include/impl_string_utils.h: At top level: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:21: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:19: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[137/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:19: @@ -14539,6 +14269,312 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ +[138/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[139/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[140/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[141/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[142/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[143/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[144/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[145/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[146/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_openseachest_util_options.c.o -MF openSeaChest_Raw.p/src_openseachest_util_options.c.o.d -o openSeaChest_Raw.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ +[147/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[148/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[149/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: ‘_FORTIFY_SOURCE’ redefined +: note: this is the location of the previous definition +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:199:33: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 199 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:741:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 741 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:222:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 222 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:237:34: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time] + 237 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/time_utils.h:16, + from ../src/openseachest_util_options.c:20: +../subprojects/opensea-common/include/impl_time_utils.h: At top level: +../subprojects/opensea-common/include/impl_time_utils.h:35:21: warning: ‘nulltimestr’ defined but not used [-Wunused-const-variable=] + 35 | constexpr char* nulltimestr = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:33:32: warning: ‘nullconststructtm’ defined but not used [-Wunused-const-variable=] + 33 | constexpr const struct tm* nullconststructtm = M_NULLPTR; + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:31:26: warning: ‘nullstructtm’ defined but not used [-Wunused-const-variable=] + 31 | constexpr struct tm* nullstructtm = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_time_utils.h:29:29: warning: ‘nulltimet’ defined but not used [-Wunused-const-variable=] + 29 | constexpr const time_t* nulltimet = M_NULLPTR; + | ^~~~~~~~~ +In file included from ../subprojects/opensea-common/include/string_utils.h:18, + from ../src/openseachest_util_options.c:19: +../subprojects/opensea-common/include/impl_string_utils.h:55:24: warning: ‘nullrsizet’ defined but not used [-Wunused-const-variable=] + 55 | constexpr rsize_t* nullrsizet = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:52:28: warning: ‘nullconstdblstr’ defined but not used [-Wunused-const-variable=] + 52 | constexpr const char** nullconstdblstr = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:50:27: warning: ‘nullconststr’ defined but not used [-Wunused-const-variable=] + 50 | constexpr const char* nullconststr = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:47:22: warning: ‘nulldblstr’ defined but not used [-Wunused-const-variable=] + 47 | constexpr char** nulldblstr = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_string_utils.h:45:21: warning: ‘nullstr’ defined but not used [-Wunused-const-variable=] + 45 | constexpr char* nullstr = M_NULLPTR; + | ^~~~~~~ +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/impl_memory_safety.h:30:27: warning: ‘nullconstvoid’ defined but not used [-Wunused-const-variable=] + 30 | constexpr const void* nullconstvoid = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_memory_safety.h:28:21: warning: ‘nullvoid’ defined but not used [-Wunused-const-variable=] + 28 | constexpr void* nullvoid = M_NULLPTR; + | ^~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:23, + from ../src/openseachest_util_options.c:17: +../subprojects/opensea-common/include/impl_io_utils.h:55:35: warning: ‘nullldouble’ defined but not used [-Wunused-const-variable=] + 55 | constexpr long double* nullldouble = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:54:35: warning: ‘nulldouble’ defined but not used [-Wunused-const-variable=] + 54 | constexpr double* nulldouble = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:53:35: warning: ‘nullfloat’ defined but not used [-Wunused-const-variable=] + 53 | constexpr float* nullfloat = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:52:35: warning: ‘nulluintmax’ defined but not used [-Wunused-const-variable=] + 52 | constexpr uintmax_t* nulluintmax = M_NULLPTR; + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:51:35: warning: ‘nullintmax’ defined but not used [-Wunused-const-variable=] + 51 | constexpr intmax_t* nullintmax = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:50:35: warning: ‘nullulonglong’ defined but not used [-Wunused-const-variable=] + 50 | constexpr unsigned long long* nullulonglong = M_NULLPTR; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:49:35: warning: ‘nullulong’ defined but not used [-Wunused-const-variable=] + 49 | constexpr unsigned long* nullulong = M_NULLPTR; + | ^~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:48:35: warning: ‘nulllonglong’ defined but not used [-Wunused-const-variable=] + 48 | constexpr long long* nulllonglong = M_NULLPTR; + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:47:35: warning: ‘nulllong’ defined but not used [-Wunused-const-variable=] + 47 | constexpr long* nulllong = M_NULLPTR; + | ^~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:46:35: warning: ‘nullint’ defined but not used [-Wunused-const-variable=] + 46 | constexpr int* nullint = M_NULLPTR; + | ^~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:45:35: warning: ‘nullioconstchar’ defined but not used [-Wunused-const-variable=] + 45 | constexpr const char* nullioconstchar = M_NULLPTR; + | ^~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:44:35: warning: ‘nulliochar’ defined but not used [-Wunused-const-variable=] + 44 | constexpr char* nulliochar = M_NULLPTR; + | ^~~~~~~~~~ +../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] + 43 | constexpr FILE* nullstreamptr = M_NULLPTR; + | ^~~~~~~~~~~~~ [150/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_openseachest_util_options.c.o -MF openSeaChest_Security.p/src_openseachest_util_options.c.o.d -o openSeaChest_Security.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition @@ -14638,8 +14674,8 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[151/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[152/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_openseachest_util_options.c.o -MF openSeaChest_ZBD.p/src_openseachest_util_options.c.o.d -o openSeaChest_ZBD.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[151/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[152/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -14738,7 +14774,9 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[153/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[153/156] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[154/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[155/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_GETDELIM -DHAVE_GETLINE -DHAVE_C11_GENERIC_SELECTION -DHAVE_CONSTEXPR -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_openseachest_util_options.c.o -MF openSeaChest_ZBD.p/src_openseachest_util_options.c.o.d -o openSeaChest_ZBD.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: ‘_FORTIFY_SOURCE’ redefined : note: this is the location of the previous definition ../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: @@ -14837,11 +14875,9 @@ ../subprojects/opensea-common/include/impl_io_utils.h:43:35: warning: ‘nullstreamptr’ defined but not used [-Wunused-const-variable=] 43 | constexpr FILE* nullstreamptr = M_NULLPTR; | ^~~~~~~~~~~~~ -[154/156] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[155/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[156/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[156/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group dh_auto_test - cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=16 meson test --verbose + cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=12 meson test --verbose No tests defined. create-stamp debian/debhelper-build-stamp dh_prep @@ -14909,12 +14945,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/953151/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1135643 and its subdirectories -I: Current time: Fri Nov 13 03:09:31 -12 2026 -I: pbuilder-time-stamp: 1794582571 +I: removing directory /srv/workspace/pbuilder/953151 and its subdirectories +I: Current time: Sat Oct 11 22:48:51 +14 2025 +I: pbuilder-time-stamp: 1760172531