Diff of the two buildlogs: -- --- b1/build.log 2024-10-22 12:14:11.903345594 +0000 +++ b2/build.log 2024-10-22 12:22:17.862051676 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 24 06:34:09 -12 2025 -I: pbuilder-time-stamp: 1764009249 +I: Current time: Wed Oct 23 02:14:16 +14 2024 +I: pbuilder-time-stamp: 1729599256 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/2132057/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/735030/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 22 12:14 /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/735030/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/735030/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='af1a411da4d246029c4a80a0d8949369' - 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='2132057' - PS1='# ' - PS2='> ' + INVOCATION_ID=9960e40bc46248ba9b865d9ff057b012 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=735030 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.BU6WIQZS/pbuilderrc_zdP2 --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.BU6WIQZS/b1 --logfile b1/build.log openseachest_24.08.1-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.BU6WIQZS/pbuilderrc_nW1u --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.BU6WIQZS/b2 --logfile b2/build.log openseachest_24.08.1-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2132057/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/735030/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 amd64 python3-zipp all 3.20.2-1 [10.3 kB] Get: 62 http://deb.debian.org/debian trixie/main amd64 python3-setuptools all 74.1.2-2 [736 kB] Get: 63 http://deb.debian.org/debian trixie/main amd64 meson all 1.5.2-2 [621 kB] -Fetched 28.8 MB in 3s (8958 kB/s) +Fetched 28.8 MB in 2s (11.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19799 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:35:06 UTC 2025. -Universal Time is now: Mon Nov 24 18:35:06 UTC 2025. +Local time is now: Tue Oct 22 12:16:43 UTC 2024. +Universal Time is now: Tue Oct 22 12:16:43 UTC 2024. 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/735030/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/735030/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 @@ -924,12 +960,8 @@ Found ninja-1.12.1 at /usr/bin/ninja dh_auto_build - cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j42 -v -[1/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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] -[2/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c + cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j20 -v +[1/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/error_translation.h:18, @@ -941,16 +973,16 @@ ../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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -c ../subprojects/opensea-common/src/math_utils.c +[2/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o -c ../subprojects/opensea-common/src/math_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[5/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -967,18 +999,17 @@ ../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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[8/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] -[9/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/src/env_detect.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]] | ^ @@ -1111,28 +1142,7 @@ ../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); - | ^~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -1270,313 +1280,212 @@ ../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); | ^~~~~~~~~~~ -[14/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[10/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[15/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 73 | 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/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 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/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[16/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -c ../subprojects/opensea-common/src/type_conversion.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[13/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -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’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/env_detect.h:20, - from ../subprojects/opensea-common/src/env_detect.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!*/ - | ^~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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) + | ^~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/secure_file.h: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/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/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/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/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/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/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/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/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/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/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/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/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); | ^~~~~~~~~~~ -[19/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[20/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/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]] | ^ @@ -1712,138 +1621,70 @@ ../subprojects/opensea-common/include/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-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/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/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/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-common/include/common_types.h:208:50: warning: 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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[21/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/secure_file.h: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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, + from ../subprojects/opensea-common/src/posix_env_detect.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]] | ^ @@ -1979,73 +1820,154 @@ ../subprojects/opensea-common/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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-common/src/posix_env_detect.c:17: +../subprojects/opensea-common/src/posix_env_detect.c: In function ‘get_Linux_Info_From_OS_Release_File’: ../subprojects/opensea-common/include/common_types.h:208: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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[22/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/src/posix_env_detect.c:87:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 87 | DECLARE_ZERO_INIT_ARRAY(char, releasefile, RELEASE_FILE_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/src/posix_env_detect.c: In function ‘get_Operating_System_Version_And_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/posix_env_detect.c:439:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 439 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 488 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:515:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 515 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:546:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 546 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:647:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 647 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 670 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 692 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c +../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -c ../subprojects/opensea-common/src/time_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/nvme_cmds.c:17: +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]] | ^ @@ -2178,23 +2100,21 @@ ../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); - | ^~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[20/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ciss_helper.c:18: +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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[21/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -2327,85 +2247,186 @@ ../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:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] +../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-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ - 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +../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)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[22/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_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-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../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/ciss_helper.c: In function ‘get_CISS_RAID_Device’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); +../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/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../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/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.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-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_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/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 73 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_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-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 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/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[25/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/src/io_utils.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]] | ^ @@ -2541,169 +2562,60 @@ ../subprojects/opensea-common/include/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/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/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: -../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/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 711 | 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-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 723 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: At top level: -../subprojects/opensea-common/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/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ - 1283 | 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/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ - 1350 | 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/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ - 1417 | 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/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ - 1439 | 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/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ - 1461 | 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/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ - 1483 | 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/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ - 1551 | 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/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ - 1618 | 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/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ - 1646 | 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/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ - 1674 | 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/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ - 1702 | 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/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ - 1738 | 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/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ - 1784 | 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/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ - 1830 | 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:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ - 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, 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/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ - 1882 | 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/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ - 1904 | 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/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ - 1928 | 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/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ - 1952 | 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/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ - 2006 | 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/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ - 2037 | 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/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ - 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/env_detect.h:21: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +../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’: ../subprojects/opensea-common/include/common_types.h:208: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/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); +../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/include/common_types.h:208:50: warning: 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/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-common/include/common_types.h:208:50: warning: 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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/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/raid_scan_helper.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]] | ^ @@ -2848,38 +2760,49 @@ ../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); | ^~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/cmds.c:16: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: +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/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-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/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-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/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-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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~ [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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 @@ -2916,11 +2839,11 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[29/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/memory_safety.h:18, - from ../subprojects/opensea-common/src/posix_env_detect.c:18: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/sata_helper_func.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]] | ^ @@ -3056,258 +2979,235 @@ ../subprojects/opensea-common/include/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/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/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/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); | ^~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, + from ../subprojects/opensea-transport/src/ciss_helper.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]] + | ^ +../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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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-common/src/posix_env_detect.c:17: -../subprojects/opensea-common/src/posix_env_detect.c: In function ‘get_Linux_Info_From_OS_Release_File’: -../subprojects/opensea-common/include/common_types.h:208: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/posix_env_detect.c:87:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 87 | DECLARE_ZERO_INIT_ARRAY(char, releasefile, RELEASE_FILE_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/src/posix_env_detect.c: In function ‘get_Operating_System_Version_And_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/posix_env_detect.c:439:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 439 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 488 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:515:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 515 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:546:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 546 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:647:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 647 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 670 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-common/src/posix_env_detect.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 692 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 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-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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[30/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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) - | ^~~~~~~~~~~ -[31/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ + 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.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-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_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-transport/src/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[31/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[32/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/src/validate_format.c:19: +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]] | ^ @@ -3440,75 +3340,34 @@ ../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)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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-common/include/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); + | ^~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/sata_helper_func.c:17: + 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]] | ^ @@ -3653,12 +3512,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); | ^~~~~~~~~~~ -[34/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/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/precision_timer.h:20, + from ../subprojects/opensea-transport/src/nvme_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]] | ^ @@ -3791,7 +3657,19 @@ ../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); | ^~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/include/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); + | ^~~~~~~~~~~ +[36/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -3954,16 +3832,11 @@ ../subprojects/opensea-transport/src/nvme_helper.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 578 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[36/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[37/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 -[38/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[39/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[37/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/nvme_operations.c:15: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/src/io_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]] | ^ @@ -4099,79 +3972,200 @@ ../subprojects/opensea-common/include/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/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/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: +../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/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 711 | 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-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 723 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: At top level: ../subprojects/opensea-common/include/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: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/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/src/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ + 1283 | 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/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ + 1350 | 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/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ + 1417 | 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/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ + 1439 | 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/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ + 1461 | 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/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ + 1483 | 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/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ + 1551 | 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/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ + 1618 | 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/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ + 1646 | 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/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ + 1674 | 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/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ + 1702 | 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/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ + 1738 | 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/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ + 1784 | 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/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ + 1830 | 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:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ + 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, 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/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ + 1882 | 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/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ + 1904 | 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/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ + 1928 | 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/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ + 1952 | 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/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ + 2006 | 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/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ + 2037 | 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/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ + 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/env_detect.h:21: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-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); | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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-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-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-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-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-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/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-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-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/nvme_operations.c:682:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[39/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:16: + from ../subprojects/opensea-operations/src/buffer_test.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]] | ^ @@ -4316,26 +4310,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/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/buffer_test.c:16: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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/ata_device_config_overlay.c: In function ‘dco_Set’: +../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_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_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[40/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -4480,30 +4474,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-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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-transport/src/ata_helper.c:14: + 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]] | ^ @@ -4648,165 +4638,11 @@ ../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’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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__)); - | ^~~~~~~~~~~~ -[45/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -4951,60 +4787,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; - | ^~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-transport/src/csmi_helper.c:32: + 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]] | ^ @@ -5149,222 +4982,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-common/include/precision_timer.h:19: -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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_helper.c:1170:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1170 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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_helper.c:1171:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1171 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 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} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1172:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1172 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.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-transport/src/csmi_helper.c:3322:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3322 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, tDevice *device, uint8_t controllerNumber, uint8_t hostController, uint8_t pathidBus, uint8_t targetID, uint8_t lun) - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_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/csmi_helper.c:3524:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3524 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 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-transport/src/csmi_helper.c:3545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3545 | 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/csmi_helper.c:3546:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3546 | 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/csmi_helper.c:3547:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3547 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_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/csmi_helper.c:3567:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3567 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 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/csmi_helper.c:3568:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3568 | 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/csmi_helper.c:3590:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3590 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 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} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3591:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3591 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_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-transport/src/csmi_helper.c:4416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4416 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +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-transport/src/csmi_helper.c:4681:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4681 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:4722:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:4723:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_List’: +../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-transport/src/csmi_helper.c:4845:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4845 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); +../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-transport/src/csmi_helper.c:5068:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5068 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_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/csmi_helper.c:5224:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5224 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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_helper.c:5225:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5225 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: 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_helper.c:5265:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 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-transport/src/csmi_helper.c:5286:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5286 | 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/csmi_helper.c:5287:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5287 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5288:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5288 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5315:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5315 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5316:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5316 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5317:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5317 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5342:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5343:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5343 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5365:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5365 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5366:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5366 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5367:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5367 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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-transport/src/csmi_helper.c:5503:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5503 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘send_STP_Passthrough_Command’: +../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-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-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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/farm_log.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]] | ^ @@ -5587,98 +5314,38 @@ ../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/farm_log.c:16: -../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:87:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 87 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:943:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_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/farm_log.c:944:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 944 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:945:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 945 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:947:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 947 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:949:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 949 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_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/farm_log.c:968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 968 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +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/farm_log.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 981 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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/farm_log.c:997:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 997 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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/farm_log.c:1002:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1002 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/host_erase.c:17: + 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]] | ^ @@ -5823,11 +5490,145 @@ ../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-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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/include/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/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/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/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/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/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/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/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-common/include/common_types.h:208:50: warning: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[46/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/sector_repair.c:16: + 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]] | ^ @@ -5972,19 +5773,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); | ^~~~~~~~~~~ -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/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/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-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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-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/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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/sanitize.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]] | ^ @@ -6129,45 +5981,229 @@ ../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/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/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: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/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../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/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: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/sanitize.c: In function ‘get_SCSI_Sanitize_Supported_Features’: +../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/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: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-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; - | ^~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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/common_types.h:208:50: warning: 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/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-common/include/common_types.h:208:50: warning: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../subprojects/opensea-operations/src/trim_unmap.c:16: + from ../subprojects/opensea-operations/src/sas_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]] | ^ @@ -6312,26 +6348,33 @@ ../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’: +In file included from ../subprojects/opensea-operations/src/sas_phy.c:16: +../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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. - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-operations/src/sas_phy.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/zoned_operations.c:15: + 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]] | ^ @@ -6476,45 +6519,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); | ^~~~~~~~~~~ -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/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/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/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/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-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/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/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’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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/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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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; + | ^~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/buffer_test.c:17: + 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]] | ^ @@ -6659,26 +6702,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/buffer_test.c:16: -../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_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/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-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; + | ^~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/sas_phy.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]] | ^ @@ -6823,33 +6900,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-operations/src/sas_phy.c:16: -../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +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/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/writesame.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]] | ^ @@ -6994,17 +7057,142 @@ ../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/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/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/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) - | ^~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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-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) + | ^~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/sata_phy.c:17: + 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]] | ^ @@ -7149,26 +7337,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/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/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/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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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) + | ^~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/firmware_download.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]] | ^ @@ -7313,6 +7492,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/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. + | ^~~~~~~~~~~~~~~~~~~~~~~ +[55/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -7391,38 +7590,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/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-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/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-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-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-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-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-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__)); + | ^~~~~~~~~~~~ +[56/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../subprojects/opensea-operations/src/set_max_lba.c:17: + from ../subprojects/opensea-transport/src/sg_helper.c:27: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7555,132 +7783,452 @@ ../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:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ + 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/sg_helper.c:26: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_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-transport/src/sg_helper.c:309:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 309 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:361:1: note: in expansion of macro ‘M_NODISCARD’ + 361 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, uint32_t *versionlist, uint8_t versionlistlen, uint8_t *versionCount) + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:490:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 490 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_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/sg_helper.c:559:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 559 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_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/sg_helper.c:643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 643 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_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/sg_helper.c:730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_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/sg_helper.c:795:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 795 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_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/sg_helper.c:926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 926 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_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/sg_helper.c:999:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 999 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1043:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1043 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1187 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1218:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1218 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1227:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1227 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1275:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1275 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: +../subprojects/opensea-transport/src/sg_helper.c:1582:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1582 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: +../subprojects/opensea-transport/src/sg_helper.c:1833:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1833 | printf("%s Didn't understand direction\n", __FUNCTION__); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_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-transport/src/sg_helper.c:2345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2345 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); //Because get device needs char + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_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/sg_helper.c:2907:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2907 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:3046:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3046 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.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-transport/src/sg_helper.c:3106:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3106:54: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3106:82: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3106:118: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3106:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3111:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3111:55: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3111:83: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3111:119: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3111:151: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3116:25: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3116:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3116:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3121:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3121 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice *device) + | ^~~~~~~~~~~~~ +../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/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[57/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, + from ../subprojects/opensea-transport/src/scsi_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]] + | ^ +../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: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/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: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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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); | ^~~~~~~~~~~ -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/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/scsi_helper.c: In function ‘get_Sense_Data_Fields’: +../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/scsi_helper.c:1528:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1528 | 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/scsi_helper.c:1605:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1605 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/scsi_helper.c:13: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-transport/src/scsi_helper.c:2260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2260 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_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/scsi_helper.c:2261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2261 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_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/scsi_helper.c:2262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2262 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_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/scsi_helper.c:2457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2457 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2617:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2617 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1);//making bigger than needed for now. + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2630:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2630 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, 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-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-transport/src/scsi_helper.c:2631:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2631 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_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/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-transport/src/scsi_helper.c:3036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[59/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/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 + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/depopulate.c:17: + 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]] | ^ @@ -7825,116 +8373,119 @@ ../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/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/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/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/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/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/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: +../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/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/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/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/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-common/include/common_types.h:208:50: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[59/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[60/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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../subprojects/opensea-operations/src/partition_info.c:21: + from ../subprojects/opensea-operations/src/generic_tests.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]] | ^ @@ -8079,26 +8630,136 @@ ../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/partition_info.c:20: -../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: +../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/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:446:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 446 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN); +../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.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/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_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} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_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/partition_info.c:579:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 579 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 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/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.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/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../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/generic_tests.c:1474:189: 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) + | ^~~~~~~~~~~~~ +../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/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) + | ^~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/ata_Security.c:18: + 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]] | ^ @@ -8243,59 +8904,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); | ^~~~~~~~~~~ -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’: +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/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-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/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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[63/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[64/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -8589,11 +9213,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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/format.c:17: + 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]] | ^ @@ -8738,145 +9362,29 @@ ../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/common_types.h:208:50: warning: 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-common/include/common_types.h:208:50: warning: 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/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/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/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-common/include/common_types.h:208:50: warning: 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/format.c: In function ‘show_Supported_Formats’: +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/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/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/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/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); +../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[65/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: +[66/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/csmi_helper.c:32: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9021,500 +9529,222 @@ ../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’: +In file included from ../subprojects/opensea-common/include/precision_timer.h:19: +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: ../subprojects/opensea-common/include/common_types.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-transport/src/csmi_helper.c:1170:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1170 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.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-transport/src/csmi_helper.c:1171:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1171 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 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} | ^~~ -../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-transport/src/csmi_helper.c:1172:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1172 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.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-transport/src/csmi_helper.c:3322:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3322 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, tDevice *device, uint8_t controllerNumber, uint8_t hostController, uint8_t pathidBus, uint8_t targetID, uint8_t lun) + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_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);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/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]] - | ^ -../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/dst.c:16: -../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: +../subprojects/opensea-transport/src/csmi_helper.c:3524:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3524 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 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/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-transport/src/csmi_helper.c:3545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3545 | 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-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-transport/src/csmi_helper.c:3546:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3546 | 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-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-transport/src/csmi_helper.c:3547:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3547 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_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-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-transport/src/csmi_helper.c:3567:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3567 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 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-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-transport/src/csmi_helper.c:3568:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3568 | 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-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-transport/src/csmi_helper.c:3590:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3590 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 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} | ^~~ -../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-transport/src/csmi_helper.c:3591:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3591 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_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/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-transport/src/csmi_helper.c:4416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4416 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_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:657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); +../subprojects/opensea-transport/src/csmi_helper.c:4681:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4681 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 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-transport/src/csmi_helper.c:4722:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 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/csmi_helper.c:4723:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_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-transport/src/csmi_helper.c:4845:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4845 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../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-transport/src/csmi_helper.c:5068:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5068 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_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: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-transport/src/csmi_helper.c:5224:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5224 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-transport/src/csmi_helper.c:5225:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5225 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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-transport/src/csmi_helper.c:5265:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 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/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-transport/src/csmi_helper.c:5286:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5286 | 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-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-transport/src/csmi_helper.c:5287:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5287 | 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-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-transport/src/csmi_helper.c:5288:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5288 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_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-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-transport/src/csmi_helper.c:5315:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5315 | 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-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-transport/src/csmi_helper.c:5316:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5316 | 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-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-transport/src/csmi_helper.c:5317:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5317 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_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-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-transport/src/csmi_helper.c:5342:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 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-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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-transport/src/csmi_helper.c:5343:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5343 | 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/csmi_helper.c:5365:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5365 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 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} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5366:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5366 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 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} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5367:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5367 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: 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_helper.c:5503:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5503 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘send_STP_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/csmi_helper.c:5663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[67/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/power_control.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]] | ^ @@ -9659,147 +9889,44 @@ ../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/power_control.c:16: -../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: +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/power_control.c:616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 616 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); +../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/power_control.c: In function ‘print_NVM_Power_States’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:674:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 674 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_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/power_control.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 675 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_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/power_control.c:676:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 676 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_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/power_control.c:677:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 677 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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/power_control.c:678:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 678 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: +../subprojects/opensea-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/power_control.c:1635:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1635 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-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/power_control.c:2137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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/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); +../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[70/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[68/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[71/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[69/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -10572,11 +10699,14 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[72/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[70/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -c ../subprojects/opensea-operations/src/farm_log.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sg_helper.c:27: + from ../subprojects/opensea-operations/src/farm_log.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]] | ^ @@ -10709,227 +10839,186 @@ ../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:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ - 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/sg_helper.c:26: -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_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-transport/src/sg_helper.c:309:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 309 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-transport/src/sg_helper.c:361:1: note: in expansion of macro ‘M_NODISCARD’ - 361 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, uint32_t *versionlist, uint8_t versionlistlen, uint8_t *versionCount) - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:490:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 490 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: +../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/farm_log.c:16: +../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:559:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 559 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); +../subprojects/opensea-operations/src/farm_log.c:87:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 87 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: +../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_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/sg_helper.c:643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 643 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); +../subprojects/opensea-operations/src/farm_log.c:943:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_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/sg_helper.c:730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); +../subprojects/opensea-operations/src/farm_log.c:944:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 944 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_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/sg_helper.c:795:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 795 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); +../subprojects/opensea-operations/src/farm_log.c:945:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 945 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_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/sg_helper.c:926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 926 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); +../subprojects/opensea-operations/src/farm_log.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_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/sg_helper.c:999:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 999 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c:947:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 947 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_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-transport/src/sg_helper.c:1043:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1043 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: +../subprojects/opensea-operations/src/farm_log.c:948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_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-transport/src/sg_helper.c:1187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1187 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c:949:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 949 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_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-transport/src/sg_helper.c:1218:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1218 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_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-transport/src/sg_helper.c:1227:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1227 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c:968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 968 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_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/sg_helper.c:1275:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1275 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: -../subprojects/opensea-transport/src/sg_helper.c:1582:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1582 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: -../subprojects/opensea-transport/src/sg_helper.c:1833:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1833 | printf("%s Didn't understand direction\n", __FUNCTION__); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_List’: +../subprojects/opensea-operations/src/farm_log.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 981 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 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/sg_helper.c:2345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2345 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); //Because get device needs char +../subprojects/opensea-operations/src/farm_log.c:997:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 997 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_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/sg_helper.c:2907:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2907 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); +../subprojects/opensea-operations/src/farm_log.c:1002:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1002 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3046:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3046 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); +../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.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-transport/src/sg_helper.c:3106:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3106:54: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3106:82: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3106:118: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3106:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3111:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3111:55: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3111:83: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3111:119: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3111:151: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3116:25: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3116:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3116:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3121:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3121 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice *device) - | ^~~~~~~~~~~~~ -../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/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ +[72/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 [73/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 @@ -11278,11 +11367,14 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[74/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[75/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/defect.c:17: + from ../subprojects/opensea-operations/src/seagate_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]] | ^ @@ -11505,64 +11597,257 @@ ../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/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/seagate_operations.c:16: +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_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/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/seagate_operations.c:425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:494:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 494 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + 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/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/seagate_operations.c:566:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 566 | 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/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/seagate_operations.c:569:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 569 | 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/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-operations/src/seagate_operations.c:572:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 572 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: 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/seagate_operations.c:1391:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../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) - | ^~~~~~~~~~~~~ -[75/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1405:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1405 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1631:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1631 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1900:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1900 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1902:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1902 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[76/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/seagate_operations.c:17: + from ../subprojects/opensea-operations/src/partition_info.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]] + | ^ +../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/partition_info.c:20: +../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/partition_info.c:446:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 446 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_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/partition_info.c:579:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 579 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[77/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[78/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, + from ../subprojects/opensea-operations/src/logs.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]] | ^ @@ -11785,93 +12070,153 @@ ../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]] - | ^ -../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/seagate_operations.c:16: -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: +In file included from ../subprojects/opensea-operations/src/logs.c:13: +../subprojects/opensea-operations/src/logs.c: In function ‘generate_Log_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-operations/src/seagate_operations.c:425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: +../subprojects/opensea-operations/src/logs.c:48:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 48 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘is_SCSI_Read_Buffer_16_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/seagate_operations.c:494:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 494 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:974:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 974 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportSupportedOperationCode, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: ../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/seagate_operations.c:566:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 566 | M_FALLTHROUGH; +../subprojects/opensea-operations/src/logs.c:2120:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2120 | 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/seagate_operations.c:569:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 569 | M_FALLTHROUGH; +../subprojects/opensea-operations/src/logs.c:2127:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2127 | 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/seagate_operations.c:572:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 572 | M_FALLTHROUGH; +../subprojects/opensea-operations/src/logs.c:2129:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2129 | M_FALLTHROUGH; | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: +../subprojects/opensea-operations/src/logs.c:2129:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2129 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: +../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/logs.c:2417:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2417 | 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/logs.c:2424:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2424 | 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/logs.c:2431:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2431 | 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/logs.c:2433:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2433 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2433:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2433 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: +../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/logs.c:2671:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2671 | 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/logs.c:2678:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2678 | 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/logs.c:2680:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2680 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2680:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2680 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1391:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); +../subprojects/opensea-operations/src/logs.c:2880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2880 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1405:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1405 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: +../subprojects/opensea-operations/src/logs.c:2937:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2937 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1631:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1631 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/logs.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3459 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1900:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1900 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); +../subprojects/opensea-operations/src/logs.c:3569:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3569 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 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} + | ^~~ +../subprojects/opensea-operations/src/logs.c:3600:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3600 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:3723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3723 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1902:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1902 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); +../subprojects/opensea-operations/src/logs.c:3760:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3760 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: +../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[76/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[77/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[79/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../subprojects/opensea-transport/src/scsi_helper.c:14: + from ../subprojects/opensea-operations/src/power_control.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]] | ^ @@ -12016,82 +12361,151 @@ ../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/scsi_helper.c: In function ‘get_Sense_Data_Fields’: -../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/scsi_helper.c:1528:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1528 | 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/scsi_helper.c:1605:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1605 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/scsi_helper.c:13: -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: +../subprojects/opensea-common/include/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/power_control.c:16: +../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2260 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); +../subprojects/opensea-operations/src/power_control.c:616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 616 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2261 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:674:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 674 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_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-transport/src/scsi_helper.c:2262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2262 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 675 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_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-transport/src/scsi_helper.c:2457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2457 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); +../subprojects/opensea-operations/src/power_control.c:676:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 676 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2617:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2617 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1);//making bigger than needed for now. +../subprojects/opensea-operations/src/power_control.c:677:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 677 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_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-transport/src/scsi_helper.c:2630:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2630 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:678:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 678 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2631:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2631 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); +../subprojects/opensea-operations/src/power_control.c:1635:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1635 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: +../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:2137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_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/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 - | ^~~~~~~~~~~~~~~~~~~~~~~ -[78/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[80/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/generic_tests.c:17: +[81/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../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]] | ^ @@ -12236,139 +12650,133 @@ ../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/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: +../subprojects/opensea-common/include/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} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); +../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/generic_tests.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/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: +../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} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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} | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.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/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../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/generic_tests.c:1474:189: 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) - | ^~~~~~~~~~~~~ -../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/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) - | ^~~~~~~~~~~~~ -[79/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[80/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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 + | ^~~~~~~~~~~~~~~~~~~ +[82/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_Erase.c:20: + 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]] | ^ @@ -12597,22 +13005,25 @@ ../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_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_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 107 | MODEL_MATCH_VARS +../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} @@ -12620,17 +13031,26 @@ ../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_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_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 109 | CHILD_MODEL_MATCH_VARS +../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} @@ -12638,68 +13058,29 @@ ../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_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: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 */ +../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_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); \ +../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 118 | CHILD_NEW_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~~ -../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_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_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_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_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[83/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[82/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[84/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[83/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[85/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/logs.c:14: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Basics.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]] | ^ @@ -12922,153 +13303,88 @@ ../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/logs.c:13: -../subprojects/opensea-operations/src/logs.c: In function ‘generate_Log_Name’: +../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_Basics.c:19: +../utils/C/openSeaChest/openSeaChest_Basics.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/logs.c:48:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 48 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); +../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/logs.c: In function ‘is_SCSI_Read_Buffer_16_Supported’: +../utils/C/openSeaChest/openSeaChest_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 91 | 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/logs.c:974:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 974 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportSupportedOperationCode, 20); +../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/logs.c: In function ‘ata_Pull_Telemetry_Log’: -../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/logs.c:2120:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2120 | 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/logs.c:2127:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2127 | 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/logs.c:2129:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2129 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2129:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2129 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: -../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/logs.c:2417:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2417 | 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/logs.c:2424:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2424 | 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/logs.c:2431:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2431 | 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/logs.c:2433:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2433 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2433:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2433 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: -../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/logs.c:2671:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2671 | 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/logs.c:2678:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2678 | 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/logs.c:2680:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2680 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2680:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2680 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:2880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2880 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: +../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 92 | 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/logs.c:2937:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2937 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_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);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: +../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 93 | 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/logs.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3459 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: +../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_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 94 | 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/logs.c:3569:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3569 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../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_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 112 | 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} | ^~~ -../subprojects/opensea-operations/src/logs.c:3600:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3600 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2155 | 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} | ^~~ -../subprojects/opensea-operations/src/logs.c:3723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3723 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2156 | 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} | ^~~ -../subprojects/opensea-operations/src/logs.c:3760:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3760 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2212 | 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} | ^~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[84/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[86/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: + from ../utils/C/openSeaChest/openSeaChest_Info.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]] | ^ @@ -13297,16 +13613,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_Basics.c:19: -../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h: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_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 91 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 82 | 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} @@ -13314,8 +13630,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_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 92 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 83 | 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} @@ -13323,8 +13639,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_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 93 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 84 | 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} @@ -13332,62 +13648,14 @@ ../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_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 94 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 85 | 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: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_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 112 | 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} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2155 | 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_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2156 | 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_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2212 | 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_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[85/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[86/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[87/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[88/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[89/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[90/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[87/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.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]] | ^ @@ -13616,25 +13884,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_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 - | ^~~~~~~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h: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 +../utils/C/openSeaChest/openSeaChest_GenericTests.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} @@ -13642,26 +13901,17 @@ ../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 +../utils/C/openSeaChest/openSeaChest_GenericTests.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: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 +../utils/C/openSeaChest/openSeaChest_GenericTests.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} @@ -13669,23 +13919,14 @@ ../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 +../utils/C/openSeaChest/openSeaChest_GenericTests.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} - | ^~~ -../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 - | ^~~~~~~~~~~~~~~~~~~~~~~ -[91/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[88/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_Format.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]] | ^ @@ -13882,90 +14123,80 @@ 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_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} - | ^~~ -../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 - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.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_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} - | ^~~ -../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} - | ^~~ -../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 - | ^~~~~~~~~~~~~~~~~~~ + 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); + | ^~~~~~~~~~~ +../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: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 */ +../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_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ - 96 | PATTERN_VARS - | ^~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:20: + 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]] | ^ @@ -14194,16 +14425,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_GenericTests.c:18: -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: +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} | ^~~ ../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_GenericTests.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 78 | MODEL_MATCH_VARS +../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} @@ -14211,8 +14442,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_GenericTests.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 79 | FW_MATCH_VARS +../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} @@ -14220,8 +14451,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_GenericTests.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 80 | CHILD_MODEL_MATCH_VARS +../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} @@ -14229,14 +14460,29 @@ ../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_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 81 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[93/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../subprojects/opensea-common/include/common_types.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 + | ^~~~~~~~~~~~ +[90/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[91/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../utils/C/openSeaChest/openSeaChest_Info.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]] | ^ @@ -14465,49 +14711,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_Info.c:18: -../utils/C/openSeaChest/openSeaChest_Info.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_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 82 | 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_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 83 | 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_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 84 | 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_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 85 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[94/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[93/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_Logs.c:21: + 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]] | ^ @@ -14736,16 +14981,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_Logs.c:19: -../utils/C/openSeaChest/openSeaChest_Logs.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_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | 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} @@ -14753,8 +15004,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_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | 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} @@ -14762,8 +15013,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_Logs.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | 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} @@ -14771,14 +15022,62 @@ ../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_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | 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 | ^~~~~~~~~~~~~~~~~~~ -[95/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c +../subprojects/opensea-common/include/common_types.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); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../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_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_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_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_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[94/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - from ../utils/C/openSeaChest/openSeaChest_NVMe.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]] | ^ @@ -15007,67 +15306,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_NVMe.c:17: -../utils/C/openSeaChest/openSeaChest_NVMe.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_NVMe.c:86:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 86 | 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: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_NVMe.c:90:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 90 | 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_NVMe.c:92:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 92 | NEW_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: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: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_NVMe.c:103:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 103 | 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} - | ^~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:1230:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1230 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_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_NVMe.c:1548:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1548 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[96/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[97/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_EULA.c.o -MF openSeaChest_Security.p/src_EULA.c.o.d -o openSeaChest_Security.p/src_EULA.c.o -c ../src/EULA.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[95/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[98/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c +[96/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_Reservations.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]] | ^ @@ -15296,16 +15579,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_Reservations.c:18: -../utils/C/openSeaChest/openSeaChest_Reservations.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_Reservations.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 76 | 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} @@ -15313,8 +15596,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_Reservations.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 77 | 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} @@ -15322,8 +15605,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_Reservations.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 78 | 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} @@ -15331,14 +15614,14 @@ ../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_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 79 | 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 | ^~~~~~~~~~~~~~~~~~~ -[99/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c +[97/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/sntl_helper.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]] | ^ @@ -15483,142 +15766,590 @@ ../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_Raw.c:17: -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +In file included from ../subprojects/opensea-transport/src/sntl_helper.c:16: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 72 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Generic_NVMe_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} | ^~~ -../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/sntl_helper.c:338:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 338 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 73 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Command_Specific_NVMe_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} | ^~~ -../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/sntl_helper.c:516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 74 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Media_Errors_NVMe_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} | ^~~ -../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/sntl_helper.c:633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 75 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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} | ^~~ -../include/openseachest_util_options.h:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); +../subprojects/opensea-transport/src/sntl_helper.c:751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 95 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ -[100/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:793:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, SNTL_UNIT_SERIAL_NUMBER_VPD_MAX_LENGTH);//44 is the max size of this page with the translation spec + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:823:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 823 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 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-transport/src/sntl_helper.c:848:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 848 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 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-transport/src/sntl_helper.c:862:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 862 | DECLARE_ZERO_INIT_ARRAY(char, nsidString, NSID_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1490:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 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/sntl_helper.c:1600:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1600 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1643 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1708:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1708 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:1770:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1770 | 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/sntl_helper.c:1821:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1821 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_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/sntl_helper.c:1825:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1825 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_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/sntl_helper.c:1840:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1840 | DECLARE_ZERO_INIT_ARRAY(char, nvmSN, NVME_CTRL_IDENTIFY_SN_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1890:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1890 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:1964:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1964 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2032 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2125:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2125 | 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/sntl_helper.c:2128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2215:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2215 | 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/sntl_helper.c:2218:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2218 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2219:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2219 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2279:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2279 | 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/sntl_helper.c:2280:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2280 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2337 | 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/sntl_helper.c:2340:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2340 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2341:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2341 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2416 | 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/sntl_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2419 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2420 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Start_Stop_Cycle_Log_0x0E’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:2569:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2569 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 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/sntl_helper.c:2571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2571 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:2609:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2688 | 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/sntl_helper.c:2690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:2712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:3813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3813 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_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-transport/src/sntl_helper.c:3814:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3814 | 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/sntl_helper.c:3816:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3816 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4009:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4009 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4779:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4779 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4983:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4983 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5247:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5247 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5307:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5307 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:5344:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5344 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5445:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5445 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:5477:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5477 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5674:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5674 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5791:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5791 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:5892:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5892 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6024:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6024 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6265:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6449:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6449 | 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/sntl_helper.c:6451:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6451 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:6485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_In’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:6616:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6616 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReportKeys, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6662:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6662 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6827:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_Out’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:7029:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7029 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7099:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7099 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7193:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7193 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:7357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7357 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:7474:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7538:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7538 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7664:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7664 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:8544:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 8544 | 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/sntl_helper.c:8551:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 8551 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:9756:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9756 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:9877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:9888:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9888 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_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/sntl_helper.c:10125:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[98/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Configure.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]] | ^ @@ -15847,154 +16578,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_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_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} - | ^~~ -../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 - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.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_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} - | ^~~ -../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 - | ^~~~~~~~~~~~~~~~~~~ +../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: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);\ +../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_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_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_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_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_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_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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[102/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - 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]] | ^ @@ -16223,81 +16848,53 @@ ../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[104/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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__); + | ^~~~~~~~ +[100/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[101/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[102/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_EULA.c.o -MF openSeaChest_Security.p/src_EULA.c.o.d -o openSeaChest_Security.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[103/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -16811,7 +17408,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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[105/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -17081,11 +17678,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[106/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[105/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -17314,48 +17911,49 @@ ../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_Reservations.c:18: +../utils/C/openSeaChest/openSeaChest_Reservations.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__); - | ^~~~~~~~ -[107/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../utils/C/openSeaChest/openSeaChest_Reservations.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 76 | 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_Reservations.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 77 | 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_Reservations.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 78 | 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_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 79 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[106/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:20: + from ../utils/C/openSeaChest/openSeaChest_NVMe.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]] | ^ @@ -17584,16 +18182,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_ZBD.c:18: -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_NVMe.c:17: +../utils/C/openSeaChest/openSeaChest_NVMe.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h: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);\ +../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_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 76 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_NVMe.c:86:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 86 | 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} @@ -17601,32 +18199,44 @@ ../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_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 77 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_NVMe.c:90:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 90 | 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);\ +../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_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 78 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:92:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 92 | 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:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_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);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 79 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[108/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../utils/C/openSeaChest/openSeaChest_NVMe.c:103:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 103 | 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} + | ^~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:1230:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1230 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_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_NVMe.c:1548:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1548 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[107/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, - 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]] | ^ @@ -17855,76 +18465,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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[109/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[108/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[109/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_SMART.c:21: + 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]] | ^ @@ -18153,16 +18738,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_SMART.c:19: -../utils/C/openSeaChest/openSeaChest_SMART.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_SMART.c:81:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 81 | 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} @@ -18170,8 +18755,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_SMART.c:82:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 82 | 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} @@ -18179,8 +18764,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_SMART.c:83:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 83 | 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} @@ -18188,20 +18773,116 @@ ../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_SMART.c:84:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 84 | 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} | ^~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[110/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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_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_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_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_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_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_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[110/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sntl_helper.c:17: +[111/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 ../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]] | ^ @@ -18346,590 +19027,132 @@ ../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/sntl_helper.c:16: -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Generic_NVMe_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-transport/src/sntl_helper.c:338:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 338 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Command_Specific_NVMe_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-transport/src/sntl_helper.c:516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Media_Errors_NVMe_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-transport/src/sntl_helper.c:633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:793:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, SNTL_UNIT_SERIAL_NUMBER_VPD_MAX_LENGTH);//44 is the max size of this page with the translation spec - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:823:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 823 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 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-transport/src/sntl_helper.c:848:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 848 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 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-transport/src/sntl_helper.c:862:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 862 | DECLARE_ZERO_INIT_ARRAY(char, nsidString, NSID_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1490:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 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/sntl_helper.c:1600:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1600 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1643 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1708:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1708 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:1770:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1770 | 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/sntl_helper.c:1821:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1821 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_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/sntl_helper.c:1825:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1825 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_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/sntl_helper.c:1840:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1840 | DECLARE_ZERO_INIT_ARRAY(char, nvmSN, NVME_CTRL_IDENTIFY_SN_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:1890:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1890 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:1964:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1964 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2032 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2125:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2125 | 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/sntl_helper.c:2128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2215:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2215 | 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/sntl_helper.c:2218:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2218 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2219:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2219 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2279:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2279 | 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/sntl_helper.c:2280:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2280 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2337 | 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/sntl_helper.c:2340:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2340 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2341:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2341 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2416 | 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/sntl_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2419 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2420 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Start_Stop_Cycle_Log_0x0E’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2569:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2569 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 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/sntl_helper.c:2571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2571 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:2609:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2688 | 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/sntl_helper.c:2690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:2712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:3813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3813 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_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-transport/src/sntl_helper.c:3814:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3814 | 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/sntl_helper.c:3816:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3816 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4009:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4009 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4779:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4779 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:4983:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4983 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5247:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5247 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5307:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5307 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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]] - | ^ -../subprojects/opensea-transport/src/sntl_helper.c:5344:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5344 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5445:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5445 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:5477:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5477 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5674:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5674 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:5791:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5791 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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]] - | ^ -../subprojects/opensea-transport/src/sntl_helper.c:5892:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5892 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6024:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6024 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6265:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:6449:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6449 | 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/sntl_helper.c:6451:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6451 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:6485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_In’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:6616:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6616 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReportKeys, 4096);//I hope this is big enough...may need to redo this! - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6662:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6662 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6827:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_Out’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:7029:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7029 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7099:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7099 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7193:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7193 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 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/sntl_helper.c:7275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:7357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7357 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:7474:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7538:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7538 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 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-transport/src/sntl_helper.c:7664:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7664 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:8544:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 8544 | 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/sntl_helper.c:8551:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 8551 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Report_Supported_Operation_Codes_Command’: +../subprojects/opensea-common/include/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); + | ^~~~~~~~~~~ +../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-transport/src/sntl_helper.c:9756:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9756 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_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/sntl_helper.c:9877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-transport/src/sntl_helper.c:9888:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9888 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_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/sntl_helper.c:10125:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_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-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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[111/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[112/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -19158,48 +19381,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__); - | ^~~~~~~~ -[112/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[113/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Raw.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]] | ^ @@ -19428,44 +19679,54 @@ ../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_Raw.c:17: +../utils/C/openSeaChest/openSeaChest_Raw.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__); - | ^~~~~~~~ -[113/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 72 | 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_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 73 | 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_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 74 | 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_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 75 | 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:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 95 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ +[114/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -20265,11 +20526,11 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[115/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -20498,44 +20759,81 @@ ../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__); - | ^~~~~~~~ -[115/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[116/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -20805,11 +21103,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[116/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[117/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: + from ../utils/C/openSeaChest/openSeaChest_ZBD.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]] | ^ @@ -21038,16 +21336,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_PassthroughTest.c:18: -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h: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 +../utils/C/openSeaChest/openSeaChest_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 76 | 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} @@ -21055,8 +21353,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_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 274 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 77 | 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} @@ -21064,8 +21362,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_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 275 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 78 | 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} @@ -21073,168 +21371,10 @@ ../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_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 79 | 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[118/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -21504,7 +21644,7 @@ ../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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[119/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -21774,7 +21914,7 @@ ../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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[120/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -22044,11 +22184,11 @@ ../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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[121/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22277,314 +22417,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); | ^~~~~~~~~~~ -../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_SMART.c:19: +../utils/C/openSeaChest/openSeaChest_SMART.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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -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]] - | ^ -../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); - | ^~~~~~~~~~~ -../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’: +../utils/C/openSeaChest/openSeaChest_SMART.c:81:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 81 | 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} | ^~~ -../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:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_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__); - | ^~~~~~~~ -[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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_SMART.c:82:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 82 | 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_SMART.c:83:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 83 | 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_SMART.c:84:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 84 | 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_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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[122/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -22854,7 +22731,7 @@ ../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_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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[123/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -23124,11 +23001,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[124/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[124/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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]] | ^ @@ -23357,44 +23234,203 @@ ../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__); - | ^~~~~~~~ -[125/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/memory_safety.h:18, @@ -23664,371 +23700,7 @@ ../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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/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]] - | ^ -../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/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/common_types.h:208:50: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../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] 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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[126/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -24298,7 +23970,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[128/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[127/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -24568,8 +24240,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] 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 -[130/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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 +[128/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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_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, @@ -25553,26 +25224,391 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~ -[131/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 -[132/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[133/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[134/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[135/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[136/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[137/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[138/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[139/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[129/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 +[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 -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_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/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]] + | ^ +../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/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/common_types.h:208:50: warning: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../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) + | ^~~~~~~~~~~~~ +[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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[133/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[134/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[135/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[136/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[137/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[138/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[139/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group [140/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[141/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[142/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[143/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[144/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[145/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[146/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[147/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[148/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[141/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[142/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[143/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[144/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[145/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[146/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[147/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[148/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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group dh_auto_test - cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=42 meson test + cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=20 meson test No tests defined. create-stamp debian/debhelper-build-stamp dh_prep @@ -25640,12 +25676,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/735030/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/735030/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/2132057 and its subdirectories -I: Current time: Mon Nov 24 06:37:05 -12 2025 -I: pbuilder-time-stamp: 1764009425 +I: removing directory /srv/workspace/pbuilder/735030 and its subdirectories +I: Current time: Wed Oct 23 02:22:16 +14 2024 +I: pbuilder-time-stamp: 1729599736