Diff of the two buildlogs: -- --- b1/build.log 2024-10-22 12:27:50.962188725 +0000 +++ b2/build.log 2024-10-22 12:31:37.066154538 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 24 06:49:29 -12 2025 -I: pbuilder-time-stamp: 1764010169 +I: Current time: Tue Nov 25 08:50:51 +14 2025 +I: pbuilder-time-stamp: 1764010251 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking openseachest_24.08.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7689/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1572459/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +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 Nov 24 18:51 /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/1572459/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1572459/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='96fb8bce5a5340b583a068fe14babc7e' - 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='7689' - PS1='# ' - PS2='> ' + INVOCATION_ID=ca8e68ccfabe402a83a346138d9e2d11 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1572459 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.M1KIdHRU/pbuilderrc_KqGj --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.M1KIdHRU/b1 --logfile b1/build.log openseachest_24.08.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.M1KIdHRU/pbuilderrc_v6KT --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.M1KIdHRU/b2 --logfile b2/build.log openseachest_24.08.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7689/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1572459/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -173,7 +205,7 @@ Get: 61 http://deb.debian.org/debian trixie/main arm64 python3-zipp all 3.20.2-1 [10.3 kB] Get: 62 http://deb.debian.org/debian trixie/main arm64 python3-setuptools all 74.1.2-2 [736 kB] Get: 63 http://deb.debian.org/debian trixie/main arm64 meson all 1.5.2-2 [621 kB] -Fetched 28.0 MB in 0s (160 MB/s) +Fetched 28.0 MB in 0s (60.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:arm64. (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 ... 19909 files and directories currently installed.) @@ -397,8 +429,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Nov 24 18:49:50 UTC 2025. -Universal Time is now: Mon Nov 24 18:49:50 UTC 2025. +Local time is now: Mon Nov 24 18:51:35 UTC 2025. +Universal Time is now: Mon Nov 24 18:51:35 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -454,7 +486,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-24.08.1/ && 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_24.08.1-1_source.changes +I: user script /srv/workspace/pbuilder/1572459/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1572459/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-24.08.1/ && 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_24.08.1-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 24.08.1-1 dpkg-buildpackage: info: source distribution unstable @@ -940,16 +976,13 @@ ../subprojects/opensea-common/src/error_translation.c:85:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 85 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[3/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[3/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[4/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[4/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[5/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[6/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[5/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/secured_env_vars.h:18, @@ -966,7 +999,7 @@ ../subprojects/opensea-common/src/secured_env_vars.c:155:1: note: in expansion of macro ‘M_NODISCARD’ 155 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) | ^~~~~~~~~~~ -[7/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/env_detect.h:20, @@ -1103,16 +1136,22 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[8/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +[7/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[8/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[9/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[9/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 [10/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[11/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[11/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[12/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/env_detect.h:20, @@ -1250,18 +1289,92 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[12/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[13/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[13/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[14/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[14/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/env_detect.h:20, - from ../subprojects/opensea-common/include/io_utils.h:20, - from ../subprojects/opensea-common/src/time_utils.c:18: +In file included from ../subprojects/opensea-common/include/secure_file.h:20, + from ../subprojects/opensea-common/src/secure_file.c:18: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1394,10 +1507,74 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[15/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ + 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ + 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ + 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ + 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ + 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ + 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ + 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ + 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ + 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/secure_file.h:19: +../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[15/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/src/validate_format.c:19: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/include/io_utils.h:20, + from ../subprojects/opensea-common/src/time_utils.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1530,129 +1707,11 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c: In function ‘verify_Format_String_And_Args’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:720:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 720 | M_VALIDATE_FORMAT_RETURN_VAL(check_For_Litteral_Precent(format, &offsetToSpecifier, &formatoffset, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:723:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 723 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Flags(format, &offsetToSpecifier, &formatoffset, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:726:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 726 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Width(format, &offsetToSpecifier, &formatoffset, &width, &args, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:729:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 729 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Precision(format, &offsetToSpecifier, &formatoffset, &precision, &args, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:732:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 732 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Length_Modifier(format, &offsetToSpecifier, &formatoffset, &lenmods, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:737:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 737 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Specifier(format, &offsetToSpecifier, &formatoffset, formatLength, &lenmods, &args)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ - 674 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:743:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 743 | M_VALIDATE_FORMAT_RETURN_VAL(update_Format_Offset(format, offsetToSpecifier, &formatoffset, formatLength)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[16/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -[17/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/asmedia_nvme_helper.c:20: -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:145:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 145 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmCDB, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:556:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 556 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:598:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 598 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:632:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 632 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[18/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[16/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/secure_file.h:20, - from ../subprojects/opensea-common/src/secure_file.c:18: + from ../subprojects/opensea-common/src/posix_secure_file.c:23: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ @@ -1731,6 +1790,34 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ + 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:36:1: note: in expansion of macro ‘M_NODISCARD’ + 36 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:72:1: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:108:1: note: in expansion of macro ‘M_NODISCARD’ + 108 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) + | ^~~~~~~~~~~ +[17/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/src/validate_format.c:19: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1863,69 +1950,125 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ - 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ - 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ - 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ - 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ - 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ - 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ - 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ - 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ - 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/secure_file.h:19: -../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: +../subprojects/opensea-common/src/validate_format.c: In function ‘verify_Format_String_And_Args’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:720:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 720 | M_VALIDATE_FORMAT_RETURN_VAL(check_For_Litteral_Precent(format, &offsetToSpecifier, &formatoffset, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:723:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 723 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Flags(format, &offsetToSpecifier, &formatoffset, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:726:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 726 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Width(format, &offsetToSpecifier, &formatoffset, &width, &args, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:729:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 729 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Precision(format, &offsetToSpecifier, &formatoffset, &precision, &args, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:732:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 732 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Length_Modifier(format, &offsetToSpecifier, &formatoffset, &lenmods, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:737:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 737 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Specifier(format, &offsetToSpecifier, &formatoffset, formatLength, &lenmods, &args)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:674:33: note: in expansion of macro ‘M_FALLTHROUGH’ + 674 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:743:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 743 | M_VALIDATE_FORMAT_RETURN_VAL(update_Format_Offset(format, offsetToSpecifier, &formatoffset, formatLength)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[18/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/asmedia_nvme_helper.c:20: +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:145:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 145 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmCDB, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:556:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 556 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[19/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:598:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 598 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:632:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 632 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[19/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[20/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/include/memory_safety.h:18, @@ -2203,113 +2346,6 @@ ../subprojects/opensea-common/src/posix_env_detect.c:714:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 714 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -[20/148] 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=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/secure_file.h:20, - from ../subprojects/opensea-common/src/posix_secure_file.c:23: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ - 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/posix_secure_file.c:36:1: note: in expansion of macro ‘M_NODISCARD’ - 36 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/posix_secure_file.c:72:1: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/posix_secure_file.c:108:1: note: in expansion of macro ‘M_NODISCARD’ - 108 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) - | ^~~~~~~~~~~ [21/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 @@ -2611,7 +2647,18 @@ ../subprojects/opensea-common/src/io_utils.c:2365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2365 | DECLARE_ZERO_INIT_ARRAY(char, lineBuff, LINE_BUF_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[23/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[23/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[24/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/cypress_legacy_helper.c:15: @@ -2641,18 +2688,41 @@ ../subprojects/opensea-transport/src/cypress_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[24/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[25/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -In file included 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-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] +[26/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); +../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 110 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[25/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[27/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -2863,16 +2933,11 @@ ../subprojects/opensea-transport/src/ciss_helper.c:1909:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1909 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[26/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 -../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] -[27/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[28/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/env_detect.h:20, - from ../subprojects/opensea-common/include/string_utils.h:19, - from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3017,41 +3082,52 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[28/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/nec_legacy_helper.c:15: -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: +In file included from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 250 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_Normal_Shutdown’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 345 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:347:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 347 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_MCU_Reset’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:362:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 362 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[29/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[29/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:20: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/include/string_utils.h:19, + from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3196,83 +3272,86 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: +[30/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 250 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_Normal_Shutdown’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 345 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 99 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:347:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 347 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_MCU_Reset’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:362:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 362 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ +[31/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/psp_legacy_helper.c:15: +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); | ^~~~~~~~~~~~~~~~~~~~~~~ -[30/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 99 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); +../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[31/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[32/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -3421,50 +3500,39 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[32/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[33/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/psp_legacy_helper.c:15: -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 682 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 801 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 885 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[33/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[34/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -3613,38 +3681,6 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[34/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/cmds.c:16: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 801 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 885 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ [35/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 @@ -3957,11 +3993,22 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[37/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[37/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[38/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ata_helper.c:14: + from ../subprojects/opensea-transport/src/usb_hacks.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4106,26 +4153,19 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: +In file included from ../subprojects/opensea-transport/src/usb_hacks.c:16: +../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[38/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/usb_hacks.c:46:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 46 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[39/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/usb_hacks.c:17: + from ../subprojects/opensea-transport/src/ata_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4270,25 +4310,21 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/usb_hacks.c:16: -../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/usb_hacks.c:46:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 46 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[39/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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-transport/src/ti_legacy_helper.c:15: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ [40/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -4453,150 +4489,11 @@ ../subprojects/opensea-operations/src/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -[41/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/common_public.c:15: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1200:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1200 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1204:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1204 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1208:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1208 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/common_public.c:14: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1220:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1220 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1303:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1305:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1305 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1939:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1939 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘calculate_Checksum’: -../subprojects/opensea-transport/src/common_public.c:2871:41: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2871 | printf("%s: blksize %d, pBuf %p\n", __FUNCTION__, blockSize, C_CAST(void*, pBuf)); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c:2880:32: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2880 | printf("%s: counter %d\n", __FUNCTION__, counter); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: -../subprojects/opensea-transport/src/common_public.c:3362:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 3362 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, C_CAST(long int, __LINE__)); - | ^~~~~~~~~~~~ -[42/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[41/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ata_cmds.c:17: + from ../subprojects/opensea-operations/src/ata_Security.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4741,60 +4638,57 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:581:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 581 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:587:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 587 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:613:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 613 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:619:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 619 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:625:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 625 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:631:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 631 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:637:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 637 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:643:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 643 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -[43/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:52:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 52 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:75:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:210:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 210 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1116:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1116 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1177:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1209:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1209 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[42/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/defect.c:17: + from ../subprojects/opensea-operations/src/depopulate.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4939,6 +4833,116 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | 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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 111 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 254 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 718 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 935 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1025 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[43/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, + from ../subprojects/opensea-transport/src/common_public.c:15: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ @@ -5017,64 +5021,67 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/defect.c:16: -../subprojects/opensea-operations/src/defect.c: In function ‘get_SCSI_Defect_List’: +../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1200:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1200 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1204:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1204 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1208:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1208 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/common_public.c:14: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/defect.c:199:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOPCodeSupport, 16); +../subprojects/opensea-transport/src/common_public.c:1220:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1220 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1303:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/defect.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:688:117: note: in expansion of macro ‘M_ATTR_UNUSED’ - 688 | eReturnValues create_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, bool readUncorrectables, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:688:161: note: in expansion of macro ‘M_ATTR_UNUSED’ - 688 | eReturnValues create_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, bool readUncorrectables, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:745:90: note: in expansion of macro ‘M_ATTR_UNUSED’ - 745 | eReturnValues flag_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:745:134: note: in expansion of macro ‘M_ATTR_UNUSED’ - 745 | eReturnValues flag_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/defect.c: In function ‘is_Read_Long_Write_Long_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/defect.c:794:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 794 | DECLARE_ZERO_INIT_ARRAY(uint8_t, commandSupportInformation, 30);//should be more than big enough - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/defect.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:1059:140: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/common_public.c:1305:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1305 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/defect.c:1059:184: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -[44/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/common_public.c:1939:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1939 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘calculate_Checksum’: +../subprojects/opensea-transport/src/common_public.c:2871:41: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2871 | printf("%s: blksize %d, pBuf %p\n", __FUNCTION__, blockSize, C_CAST(void*, pBuf)); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c:2880:32: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2880 | printf("%s: counter %d\n", __FUNCTION__, counter); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: +../subprojects/opensea-transport/src/common_public.c:3362:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 3362 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, C_CAST(long int, __LINE__)); + | ^~~~~~~~~~~~ +[44/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/ata_Security.c:18: + from ../subprojects/opensea-transport/src/ata_cmds.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5219,57 +5226,60 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:52:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 52 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:75:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:210:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 210 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1116:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1116 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1177:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1209:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1209 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[45/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:581:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 581 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:587:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 587 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:613:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 613 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:619:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 619 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:625:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 625 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:631:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 631 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:637:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 637 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:643:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 643 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +[45/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/depopulate.c:17: + from ../subprojects/opensea-operations/src/defect.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5414,111 +5424,137 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 111 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 254 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 718 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 935 | 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/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/defect.c:16: +../subprojects/opensea-operations/src/defect.c: In function ‘get_SCSI_Defect_List’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/defect.c:199:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOPCodeSupport, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/defect.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:688:117: note: in expansion of macro ‘M_ATTR_UNUSED’ + 688 | eReturnValues create_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, bool readUncorrectables, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:688:161: note: in expansion of macro ‘M_ATTR_UNUSED’ + 688 | eReturnValues create_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, bool readUncorrectables, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:745:90: note: in expansion of macro ‘M_ATTR_UNUSED’ + 745 | eReturnValues flag_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:745:134: note: in expansion of macro ‘M_ATTR_UNUSED’ + 745 | eReturnValues flag_Uncorrectables(tDevice *device, uint64_t startingLBA, uint64_t range, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/defect.c: In function ‘is_Read_Long_Write_Long_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); +../subprojects/opensea-operations/src/defect.c:794:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 794 | DECLARE_ZERO_INIT_ARRAY(uint8_t, commandSupportInformation, 30);//should be more than big enough | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1025 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/defect.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1059:140: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1059:184: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ [46/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 @@ -5879,7 +5915,156 @@ ../subprojects/opensea-transport/src/csmi_helper.c:5663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 5663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -[47/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[47/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, + from ../subprojects/opensea-operations/src/host_erase.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +[48/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -6237,11 +6422,11 @@ ../subprojects/opensea-transport/src/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) | ^~~~~~~~~~~~~ -[48/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[49/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/host_erase.c:17: + from ../subprojects/opensea-operations/src/firmware_download.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -6386,7 +6571,112 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[49/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[50/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -6606,7 +6896,7 @@ ../subprojects/opensea-transport/src/scsi_helper.c:3308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 3308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, REPORT_LUNS_MIN_LENGTH);//only really need first 4 bytes, but this will make sure we get the length, hopefully without error | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[51/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -7379,11 +7669,11 @@ ../subprojects/opensea-transport/src/scsi_cmds.c:4898:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 4898 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ -[51/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[52/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/firmware_download.c:17: + from ../subprojects/opensea-operations/src/dst.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7606,38 +7896,151 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); +../subprojects/opensea-operations/src/dst.c:118:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 118 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, 564);//strange size for the log, but it's what I see in the spec - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 340 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:413:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 413 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:432:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 432 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); +../subprojects/opensea-operations/src/dst.c:461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 461 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:478:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 478 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); +../subprojects/opensea-operations/src/dst.c:657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 657 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:696:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 696 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:979:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 979 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1058:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1058 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[52/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1806:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1806 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1850 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1972:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1972 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2070:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2070 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2153:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2153 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2160 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2174:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2174 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2179:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2179 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2180:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2180 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[53/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/format.c:17: + from ../subprojects/opensea-operations/src/nvme_operations.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7782,145 +8185,70 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/format.c:16: -../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/nvme_operations.c:80:104: note: in expansion of macro ‘M_ATTR_UNUSED’ + 80 | eReturnValues nvme_Print_All_Feature_Identifiers(tDevice *device, eNvmeFeaturesSelectValue selectType, M_ATTR_UNUSED bool listOnlySupportedFeatures) + | ^~~~~~~~~~~~~ +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: +../subprojects/opensea-operations/src/nvme_operations.c:94:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 94 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/nvme_operations.c:417:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 417 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); +../subprojects/opensea-operations/src/nvme_operations.c:432:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 432 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 780 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/nvme_operations.c:433:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 433 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 831 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: +../subprojects/opensea-operations/src/nvme_operations.c:453:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 453 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/nvme_operations.c:531:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 531 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); +../subprojects/opensea-operations/src/nvme_operations.c:568:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[53/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-operations/src/nvme_operations.c:682:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 682 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[54/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/nvme_operations.c:15: + from ../subprojects/opensea-operations/src/format.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8065,66 +8393,141 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/nvme_operations.c:80:104: note: in expansion of macro ‘M_ATTR_UNUSED’ - 80 | eReturnValues nvme_Print_All_Feature_Identifiers(tDevice *device, eNvmeFeaturesSelectValue selectType, M_ATTR_UNUSED bool listOnlySupportedFeatures) - | ^~~~~~~~~~~~~ -In file included 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/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/format.c:16: +../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:94:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 94 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: +../subprojects/opensea-operations/src/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:417:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 417 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); +../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:432:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 432 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:433:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 433 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 780 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:453:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 453 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: +../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 831 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:531:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 531 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); +../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 875 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:568:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); +../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:682:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[54/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-operations/src/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[55/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -8295,11 +8698,11 @@ ../subprojects/opensea-operations/src/sas_phy.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ -[55/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[56/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/dst.c:17: + from ../subprojects/opensea-operations/src/sanitize.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8444,229 +8847,45 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | 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-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:118:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 118 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, 564);//strange size for the log, but it's what I see in the spec - TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 340 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:413:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 413 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:432:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 432 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 461 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:478:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 478 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); +../subprojects/opensea-operations/src/sanitize.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:696:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 696 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:979:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 979 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1058:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1058 | 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/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1806:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1806 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); +../subprojects/opensea-operations/src/sanitize.c:152:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 152 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Supported_Features’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); +../subprojects/opensea-operations/src/sanitize.c:324:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommands, 14); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1972:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1972 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2070:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2070 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2153:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2153 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2160 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2174:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2174 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2179:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2179 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2180:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2180 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[56/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/sanitize.c:336:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 336 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +[57/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sanitize.c:17: + from ../subprojects/opensea-operations/src/sector_repair.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8811,41 +9030,15 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sanitize.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sanitize.c:152:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 152 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Supported_Features’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:324:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommands, 14); +../subprojects/opensea-operations/src/sector_repair.c:456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, MP_READ_WRITE_ERROR_RECOVERY_LEN + MODE_PARAMETER_HEADER_10_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/sanitize.c:336:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 336 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -[57/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[58/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -9119,7 +9312,262 @@ ../subprojects/opensea-operations/src/generic_tests.c:1474:233: note: in expansion of macro ‘M_ATTR_UNUSED’ 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) | ^~~~~~~~~~~~~ -[58/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[59/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, + from ../subprojects/opensea-operations/src/set_max_lba.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/set_max_lba.c:16: +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘scsi_Set_Max_LBA_2’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/set_max_lba.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap10Data, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/set_max_lba.c:129:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap16Data, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/set_max_lba.c:497:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 497 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/set_max_lba.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[60/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -9413,11 +9861,11 @@ ../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[59/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[61/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/operations.c:17: + from ../subprojects/opensea-operations/src/trim_unmap.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9562,210 +10010,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/operations.c:16: -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:468:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 468 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:704:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 704 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:720:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 720 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:797:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 797 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:825:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 825 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1081:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1081 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1163:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1163 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1181:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2234:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2234 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘reset_Specific_Log_Page_Supported’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportData, 14); +../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/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2532:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2532 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); +../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_MLU_Value_For_SCSI_Operation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2546:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2546 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOp, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2794:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2794 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2795:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2795 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[60/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[62/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sector_repair.c:16: + from ../subprojects/opensea-operations/src/writesame.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9910,19 +10174,17 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sector_repair.c:456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, MP_READ_WRITE_ERROR_RECOVERY_LEN + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[61/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/writesame.c:32:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 32 | bool is_Write_Same_Supported(tDevice *device, M_ATTR_UNUSED uint64_t startingLBA, uint64_t requesedNumberOfLogicalBlocks, uint64_t *maxNumberOfLogicalBlocksPerCommand) + | ^~~~~~~~~~~~~ +[63/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/set_max_lba.c:17: + from ../subprojects/opensea-operations/src/zoned_operations.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -10067,117 +10329,45 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/set_max_lba.c:16: -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘scsi_Set_Max_LBA_2’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap10Data, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:129:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap16Data, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: +../subprojects/opensea-operations/src/zoned_operations.c:145:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 145 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:497:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 497 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-operations/src/zoned_operations.c:169:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 169 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/zoned_operations.c:204:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 204 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[62/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/zoned_operations.c:252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 252 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[64/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/writesame.c:17: + from ../subprojects/opensea-operations/src/operations.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -10322,13 +10512,206 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/writesame.c:32:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 32 | bool is_Write_Same_Supported(tDevice *device, M_ATTR_UNUSED uint64_t startingLBA, uint64_t requesedNumberOfLogicalBlocks, uint64_t *maxNumberOfLogicalBlocksPerCommand) - | ^~~~~~~~~~~~~ -[63/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/operations.c:16: +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:468:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 468 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:704:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 704 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:720:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 720 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:797:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 797 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:825:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 825 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1081:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1081 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1163:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1163 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1181:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2234:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2234 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘reset_Specific_Log_Page_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2532:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2532 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_MLU_Value_For_SCSI_Operation’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2546:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2546 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOp, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2794:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2794 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2795:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2795 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[65/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, @@ -10614,7 +10997,9 @@ ../subprojects/opensea-operations/src/power_control.c:2198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[64/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[66/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[67/148] 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_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_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 +[68/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -10983,355 +11368,6 @@ ../subprojects/opensea-operations/src/logs.c:3804:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 3804 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -[65/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/trim_unmap.c:16: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | 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-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. - | ^~~~~~~~~~~~~~~~~~~~~~~ -[66/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/zoned_operations.c:15: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:145:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 145 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:169:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 169 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:204:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 204 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 252 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[68/148] 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_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_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 [69/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -11638,11 +11674,11 @@ ../subprojects/opensea-operations/src/seagate_operations.c:2877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); | ^~~~~~~~~~~~~~~~~~~~~~~ -[70/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[70/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sata_phy.c:17: + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -11787,26 +11823,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/sata_phy.c:16: -../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:44:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 44 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, 512); +../subprojects/opensea-operations/src/ata_device_config_overlay.c:100:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 100 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 135 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); +../subprojects/opensea-operations/src/ata_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -[71/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[71/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:16: + from ../subprojects/opensea-operations/src/sata_phy.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -11951,20 +11987,20 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: +In file included from ../subprojects/opensea-operations/src/sata_phy.c:16: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:100:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 100 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/sata_phy.c:44:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 44 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/sata_phy.c:135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 135 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ [72/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -12280,7 +12316,7 @@ ../subprojects/opensea-operations/src/farm_log.c:1007:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1007 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[73/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[73/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 [74/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -12447,10 +12483,16 @@ ../subprojects/opensea-operations/src/partition_info.c:579:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 579 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ -[75/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[75/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[76/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[77/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[76/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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 +[78/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, @@ -13178,13 +13220,281 @@ ../subprojects/opensea-transport/src/sntl_helper.c:10132:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 10132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[77/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[79/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[78/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[80/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[79/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[81/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -13488,11 +13798,11 @@ ../utils/C/openSeaChest/openSeaChest_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[80/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[82/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13721,52 +14031,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[81/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[82/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[83/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/drive_info.c:15: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13989,18 +14295,316 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 692 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1223:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 107 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 113 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 114 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 115 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 116 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 117 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 118 | CHILD_NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~ +[84/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, + from ../subprojects/opensea-operations/src/drive_info.c:15: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 692 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:1223:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1223 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] @@ -14276,10 +14880,7 @@ ../subprojects/opensea-operations/src/drive_info.c:7883:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 7883 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[83/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[84/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[85/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, @@ -14549,305 +15150,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[85/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 107 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 113 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 114 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 115 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 116 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 117 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 118 | CHILD_NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~ -[86/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[86/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -15117,7 +15420,13 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[87/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[87/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[88/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[89/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -15387,11 +15696,14 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[88/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[90/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: +[91/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/smart.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -15614,57 +15926,584 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | 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-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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/smart.c:1082:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1082 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1193:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1193 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1194 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1195:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1195 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1196:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1196 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1197:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1197 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1198 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1337:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1337 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2394:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2394 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2545 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2589:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2589 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2669:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2669 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2695 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3036:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[89/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[90/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3198:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, MP_INFORMATION_EXCEPTIONS_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3226:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3264:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3264 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3291:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3326:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3326 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3652:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3652 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3919:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3919 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3946:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3946 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3978:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3978 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4384:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4384 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4509:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Read_Write_Command_Info’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4834:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4834 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4850:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4850 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4855:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4855 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:4974:135: note: in expansion of macro ‘M_ATTR_UNUSED’ + 4974 | static void get_GPL_Log_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4978:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4978 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5114:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5114:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5119:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5119 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5150:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5150 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:71: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:108: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:141: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:185: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5233 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5298:57: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5298:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5301:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5301 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5463 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5545:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5545:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5557:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5557 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5624:59: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5624:145: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5653:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5653 | static void get_Set_Max_Address_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:71: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:108: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:157: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:185: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5714:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5714 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5777:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5777:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5856:60: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5856:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5875:137: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5875 | static void get_Zeros_Ext_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5894:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5894 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5921:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5921 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5987:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5987 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6027:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6027 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6071:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6071 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6194 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6268 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6464:145: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6464 | static void get_ZAC_Management_In_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6485:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6485 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6539:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6539 | static void get_ZAC_Management_Out_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6626:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6626 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6680:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6680 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6688 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6696 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6717:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6717 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6725:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6725 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6757:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6757 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6765:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6765 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6977:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6977 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7564:123: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7564:183: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7571 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7572:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7572 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7892:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7892 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7951:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7951 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8013:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8013 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8151:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8151 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8185:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8185 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8218:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8218 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[92/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: + from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -15893,16 +16732,22 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: -../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:86:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 86 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 107 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15910,8 +16755,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:87:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 87 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 108 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15919,8 +16764,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 88 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 109 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15928,112 +16773,61 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 89 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 110 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1967:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1967 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN);\ +../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:125:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ - 125 | SCSI_SET_MP_VARS - | ^~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ + 118 | PATTERN_VARS + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:906:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 906 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2164:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2164 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2167:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2167 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2170:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2170 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2173:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2173 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2176:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2176 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2179:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2179 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2182:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2182 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2185:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2185 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2188:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2188 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2191:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2191 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 133 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3402:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3402 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3403:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3403 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3459 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[91/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[93/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[92/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[94/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, @@ -16304,995 +17098,7 @@ ../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 81 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[93/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[94/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sat_helper.c:15: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Registers’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 723 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:771:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 771 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:781:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 781 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/sat_helper.c:14: -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_For_Translation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:1474:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_By_RTFRs’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:1702:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1702 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Information_VPD_Page_89h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2168:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2168 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataInformation, 572); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2237 | DECLARE_ZERO_INIT_ARRAY(char, openseaVersionString, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Unit_Serial_Number_VPD_Page_80h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, 24); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2381 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Device_Identification_VPD_Page_83h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, t10VendorIdDesignator, 72); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2419 | DECLARE_ZERO_INIT_ARRAY(char, ataModelNumber, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2420 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2431:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2431 | DECLARE_ZERO_INIT_ARRAY(char, scsiNameString, SAT_SCSI_NAME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Device_Characteristics_VPD_Page_B1h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Power_Condition_VPD_Page_8Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2583:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, 1024);//currently, this log is only two pages long and we want to read both for the data we're filling in-TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2587:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2587 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionPage, 18); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Logical_Block_Provisioning_VPD_Page_B2h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2700 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Limits_VPD_Page_B0h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2747:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Page_Policy_VPD_Page_87h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2857 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modePagePolicy, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Zoned_Block_Device_Characteristics_VPD_Page_B6h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceInformation, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2946:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceCharacteristics, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Extended_Inquiry_Data_VPD_Page_86h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3003:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3034:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_VPD_Pages_00h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3068:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Inquiry_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3151:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3151 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3273:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3273 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3274:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3274 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3275 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Capacity_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3496:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3496 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3707:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_ATA_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3777:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3777 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3885:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, response, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4064:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataReturnDescriptor, 15);//making this 1 byte larger than it needs to be. This is done so that the log index can be set for fixed format sense data. - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4236:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Same_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4371:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4371 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4466:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4466 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pattern, 4);//32bits set to zero - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Synchronize_Cache_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4540:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Verify_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4601:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4601 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_And_Verify_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4709 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Format_Unit_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Test_Unit_Ready_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5410:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5410 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Reassign_Blocks_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5491:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5491 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_In_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5591:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5591 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5660:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInformation, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_Out_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5941:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5941 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6005:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityCommandBuffer, LEGACY_DRIVE_SEC_SIZE);//for use in ATA security commands that transfer data - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Long’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6204 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Sanitize_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6381 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Buffer_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6679:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6679 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6734:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6734 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferDescriptor, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6760:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, gplDirectory, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6789:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6789 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorHistoryData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Send_Diagnostic_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7034:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7130:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Luns_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7223 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLunsData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7224 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Request_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7290 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7293:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7293 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7408:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7408 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Buffer_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7463 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7605:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 7605 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Start_Stop_Unit_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7724:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7724 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7725 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7893:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 7893 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7968:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 7968 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_Log_Pages’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8342:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Informational_Exceptions_Log_Page_2F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8430:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8430 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Self_Test_Results_Log_0x10’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8503:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8503 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8505:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8529:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extSelfTestLog, LEGACY_DRIVE_SEC_SIZE);//2 sectors in size in case we need to read 2 pages of the log - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8741:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8741 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestLog, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Read_Error_Counters_Log_0x03’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readErrorCountersLog, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8926 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8932:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8932 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Temperature_Log_0x0D’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9016:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9016 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9019:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9019 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9023:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Solid_State_Media_Log_0x11’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9116:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9116 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Background_Scan_Results_Log_0x15’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9176:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9176 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_General_Statistics_And_Performance_Log_0x19’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9254 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9260 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Passthrough_Results_Log_Page_16’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9369 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPassthroughResults, 274);//15 (number of results) * (14 + 4) (size of pass-through results descriptor and parameter header) + 4 (log header) - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Sense_0x0F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9610:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Select_0x0F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9943:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE);//this memory should be all zeros, but doing a memset to be certain - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Select_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10228:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10228 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Unmap_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Control_0Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10639:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10639 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Power_Condition_1A’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11007:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11007 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditionsLog, 2 * LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11691:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11691 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11693:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11693 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:11838:13: note: in expansion of macro ‘M_FALLTHROUGH’ -11838 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Caching_08h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Control_0Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12083:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Power_Conditions_1A’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12190:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12190 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12248:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12248 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcLog, LEGACY_DRIVE_SEC_SIZE * 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_ATA_Power_Condition_1A_F1’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12729:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12729 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Select_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12798:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12798 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_In_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13238:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13238 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_Out_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Set_Timestamp_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Timestamp_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13509:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStats, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13512:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13512 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Media_Serial_Number_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13578:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13579:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13579 | DECLARE_ZERO_INIT_ARRAY(uint8_t, mediaSerialNumberPage, 65); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13608:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13608 | DECLARE_ZERO_INIT_ARRAY(char, ataMediaSN, 61); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘check_Operation_Code_and_Service_Action’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:14631:17: note: in expansion of macro ‘M_FALLTHROUGH’ -14631 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c:14631:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] -14631 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:14633:17: note: in expansion of macro ‘M_FALLTHROUGH’ -14633 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c:14633:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] -14633 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Supported_Operation_Codes_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16412:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16412 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16716:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16716 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16723:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[95/148] 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_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 -[96/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[95/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, @@ -17563,7 +17369,7 @@ ../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 85 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[97/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[96/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -17833,11 +17639,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[98/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[97/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/smart.c:17: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Format.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18060,587 +17866,67 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1082:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1082 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1193:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1193 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1194 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1195:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1195 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1196:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1196 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1197:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1197 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1198 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1337:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1337 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2394:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2394 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2545 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2589:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2589 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2669:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2669 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2695 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3036:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3036 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3198:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, MP_INFORMATION_EXCEPTIONS_LEN + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3226:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3264:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3264 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3291:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3326:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3326 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3652:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3652 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3919:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3919 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3946:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3946 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3978:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3978 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4384:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4384 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4509:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Read_Write_Command_Info’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4834:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4834 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4850:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4850 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4855:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4855 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:4974:135: note: in expansion of macro ‘M_ATTR_UNUSED’ - 4974 | static void get_GPL_Log_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4978:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4978 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5114:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5114:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5119:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5119 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5150:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5150 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:71: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:108: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:141: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:185: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5233 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5298:57: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5298:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5301:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5301 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5463 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5545:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5545:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5557:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5557 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5624:59: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5624:145: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5653:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5653 | static void get_Set_Max_Address_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:71: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:108: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:157: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:185: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Format.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5714:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5714 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5777:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5777:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5856:60: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5856:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5875:137: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5875 | static void get_Zeros_Ext_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5894:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5894 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5921:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5921 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5987:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5987 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6027:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6027 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6071:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6071 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6194 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6268 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6464:145: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6464 | static void get_ZAC_Management_In_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6485:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6485 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6539:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6539 | static void get_ZAC_Management_Out_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6626:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6626 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6680:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6680 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6688 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6696 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6717:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6717 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6725:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6725 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6757:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6757 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6765:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6765 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6977:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6977 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7564:123: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7564:183: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7571 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7572:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7572 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); +../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7892:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7892 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7951:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7951 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8013:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8013 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8151:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8151 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8185:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8185 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8218:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8218 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[99/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../utils/C/openSeaChest/openSeaChest_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ + 96 | PATTERN_VARS + | ^~~~~~~~~~~~ +[98/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[100/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[99/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: + from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18869,22 +18155,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: -../utils/C/openSeaChest/openSeaChest_Erase.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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 107 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:86:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 86 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -18892,8 +18172,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 108 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:87:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 87 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -18901,8 +18181,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 109 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 88 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -18910,62 +18190,113 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 110 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 89 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ - 118 | PATTERN_VARS - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ +../include/openseachest_util_options.h:1967:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1967 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 133 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:125:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ + 125 | SCSI_SET_MP_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:906:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 906 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2164:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2164 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2167:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2167 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2170:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2170 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2173:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2173 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2176:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2176 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2179:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2179 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2182:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2182 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2185:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2185 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2188:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2188 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2191:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2191 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3402:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3402 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3403:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3403 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Configure.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3459 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[101/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[100/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:21: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/sat_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19110,133 +18441,853 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: -../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Registers’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 723 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:771:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 771 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:781:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 781 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/sat_helper.c:14: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_For_Translation’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ +../subprojects/opensea-transport/src/sat_helper.c:1474:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_By_RTFRs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-transport/src/sat_helper.c:1702:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1702 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, 12); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Information_VPD_Page_89h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ +../subprojects/opensea-transport/src/sat_helper.c:2168:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2168 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataInformation, 572); | ^~~~~~~~~~~~~~~~~~~~~~~ -../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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-transport/src/sat_helper.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2237 | DECLARE_ZERO_INIT_ARRAY(char, openseaVersionString, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[102/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Unit_Serial_Number_VPD_Page_80h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, 24); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2381 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Device_Identification_VPD_Page_83h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, t10VendorIdDesignator, 72); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2419 | DECLARE_ZERO_INIT_ARRAY(char, ataModelNumber, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2420 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2431:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2431 | DECLARE_ZERO_INIT_ARRAY(char, scsiNameString, SAT_SCSI_NAME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Device_Characteristics_VPD_Page_B1h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Power_Condition_VPD_Page_8Ah’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2583:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, 1024);//currently, this log is only two pages long and we want to read both for the data we're filling in-TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2587:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2587 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionPage, 18); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Logical_Block_Provisioning_VPD_Page_B2h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2700 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Limits_VPD_Page_B0h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2747:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Page_Policy_VPD_Page_87h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2857 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modePagePolicy, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Zoned_Block_Device_Characteristics_VPD_Page_B6h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceInformation, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2946:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceCharacteristics, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Extended_Inquiry_Data_VPD_Page_86h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3003:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3034:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_VPD_Pages_00h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3068:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Inquiry_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3151:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3151 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3273:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3273 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3274:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3274 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3275 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Capacity_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3496:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3496 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3707:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_ATA_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3777:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3777 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3885:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, response, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4064:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataReturnDescriptor, 15);//making this 1 byte larger than it needs to be. This is done so that the log index can be set for fixed format sense data. + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4236:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Same_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4371:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4371 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4466:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4466 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pattern, 4);//32bits set to zero + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Synchronize_Cache_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4540:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Verify_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4601:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4601 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_And_Verify_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4709 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Format_Unit_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Test_Unit_Ready_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5410:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5410 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Reassign_Blocks_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5491:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5491 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_In_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5591:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5591 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5660:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInformation, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_Out_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5941:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5941 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6005:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityCommandBuffer, LEGACY_DRIVE_SEC_SIZE);//for use in ATA security commands that transfer data + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Long’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6204 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Sanitize_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6381 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Buffer_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6679:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6679 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6734:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6734 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferDescriptor, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6760:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, gplDirectory, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6789:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6789 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorHistoryData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Send_Diagnostic_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7034:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7130:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Luns_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7223 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLunsData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7224 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Request_Sense_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7290 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7293:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7293 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7408:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7408 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Buffer_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7463 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7605:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 7605 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Start_Stop_Unit_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7724:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7724 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7725 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7893:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 7893 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7968:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 7968 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_Log_Pages’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8342:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Informational_Exceptions_Log_Page_2F’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8430:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8430 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Self_Test_Results_Log_0x10’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8503:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8503 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8505:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8529:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extSelfTestLog, LEGACY_DRIVE_SEC_SIZE);//2 sectors in size in case we need to read 2 pages of the log + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8741:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8741 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestLog, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Read_Error_Counters_Log_0x03’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readErrorCountersLog, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8926 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8932:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8932 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Temperature_Log_0x0D’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9016:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9016 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9019:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9019 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9023:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Solid_State_Media_Log_0x11’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9116:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9116 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Background_Scan_Results_Log_0x15’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9176:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9176 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_General_Statistics_And_Performance_Log_0x19’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9254 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9260 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Passthrough_Results_Log_Page_16’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9369 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPassthroughResults, 274);//15 (number of results) * (14 + 4) (size of pass-through results descriptor and parameter header) + 4 (log header) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Sense_0x0F’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Sense_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9610:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Select_0x0F’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:9943:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE);//this memory should be all zeros, but doing a memset to be certain + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Select_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:10228:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10228 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Unmap_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:10325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Control_0Ah’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:10639:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10639 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Power_Condition_1A’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11007:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11007 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditionsLog, 2 * LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Sense_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11691:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11691 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11693:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11693 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:11838:13: note: in expansion of macro ‘M_FALLTHROUGH’ +11838 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Caching_08h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Control_0Ah’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12083:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Power_Conditions_1A’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12190:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12190 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12248:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12248 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcLog, LEGACY_DRIVE_SEC_SIZE * 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_ATA_Power_Condition_1A_F1’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12729:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12729 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Select_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12798:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12798 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_In_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13238:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13238 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_Out_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Set_Timestamp_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Timestamp_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13509:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStats, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13512:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13512 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Media_Serial_Number_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13578:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13579:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13579 | DECLARE_ZERO_INIT_ARRAY(uint8_t, mediaSerialNumberPage, 65); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13608:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13608 | DECLARE_ZERO_INIT_ARRAY(char, ataMediaSN, 61); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘check_Operation_Code_and_Service_Action’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:14631:17: note: in expansion of macro ‘M_FALLTHROUGH’ +14631 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:14631:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] +14631 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:14633:17: note: in expansion of macro ‘M_FALLTHROUGH’ +14633 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:14633:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] +14633 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Supported_Operation_Codes_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:16275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:16401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:16412:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16412 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:16716:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16716 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:16723:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[101/148] 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_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 +[102/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[103/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[104/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Format.c:20: + from ../utils/C/openSeaChest/openSeaChest_Logs.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19465,16 +19516,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Format.c:18: -../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: +../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19482,8 +19533,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19491,8 +19542,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19500,22 +19551,13 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | 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 | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ - 96 | PATTERN_VARS - | ^~~~~~~~~~~~ -[103/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[105/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[104/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[106/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -19785,10 +19827,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[105/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[106/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[107/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -20058,9 +20097,6 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[107/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 [108/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -21161,7 +21197,7 @@ ../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 79 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[114/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[114/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -21714,7 +21750,7 @@ [116/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[117/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[117/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -21984,11 +22020,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[118/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[118/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Security.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22217,76 +22253,51 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 97 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 98 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 99 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 100 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 129 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[119/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[119/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[120/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Security.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22515,48 +22526,76 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | 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_Security.c:18: +../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[120/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 97 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 98 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 99 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 100 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 129 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[121/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22785,51 +22824,85 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | 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_PowerControl.c:18: +../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[121/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -[122/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../utils/C/openSeaChest/openSeaChest_PowerControl.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 78 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 79 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 80 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 81 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2119:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2119 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2120:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2120 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2217:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2217 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2218:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2218 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2858:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2858 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2979:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2979 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[122/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 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/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -23058,80 +23131,43 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 78 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 79 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 80 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 81 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2119:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2119 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2120:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2120 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2217:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2217 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2218:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2218 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2858:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2858 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2979:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2979 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ [123/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 @@ -23680,7 +23716,7 @@ ../utils/C/openSeaChest/openSeaChest_SMART.c:2098:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2098 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[125/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[125/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -23950,11 +23986,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[126/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[126/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/device_statistics.c:17: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24177,145 +24213,50 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: -../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) - | ^~~~~~~~~~~~~ -[127/148] 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_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 -[128/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[127/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -24585,21 +24526,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[129/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -[138/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[128/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -24869,11 +24796,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[144/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +[129/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -25102,50 +25029,207 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | 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_PassthroughTest.c:18: +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[145/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -[147/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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 +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 273 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 274 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 275 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 276 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[130/148] 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 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-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-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/device_statistics.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -25368,209 +25452,161 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:18: -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 273 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 274 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 275 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 276 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: +../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); +../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: +../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: +../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: +../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); +../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: +../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: +../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); +../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); +../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); +../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[148/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) + | ^~~~~~~~~~~~~ +[131/148] 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_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 +[132/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +[138/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +[147/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/148] 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-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=12 meson test No tests defined. @@ -25644,12 +25680,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/1572459/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1572459/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/7689 and its subdirectories -I: Current time: Mon Nov 24 06:50:46 -12 2025 -I: pbuilder-time-stamp: 1764010246 +I: removing directory /srv/workspace/pbuilder/1572459 and its subdirectories +I: Current time: Tue Nov 25 08:54:33 +14 2025 +I: pbuilder-time-stamp: 1764010473