Diff of the two buildlogs: -- --- b1/build.log 2025-07-30 05:55:46.296795897 +0000 +++ b2/build.log 2025-07-30 05:57:48.488949435 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jul 29 17:52:45 -12 2025 -I: pbuilder-time-stamp: 1753854765 +I: Current time: Wed Sep 2 02:18:47 +14 2026 +I: pbuilder-time-stamp: 1788265127 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking openseachest_25.05.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/949477/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1644655/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Sep 1 12:19 /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/1644655/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1644655/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=40 ' - DISTRIBUTION='experimental' - 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(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=42 ' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='acf0f6dd115f436c9369943615410c9d' - 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='949477' - PS1='# ' - PS2='> ' + INVOCATION_ID=57a81858ab344a37b91aee44804e336d + 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=1644655 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.RUmkyBBN/pbuilderrc_5uNX --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RUmkyBBN/b1 --logfile b1/build.log openseachest_25.05.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://46.16.76.132: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.RUmkyBBN/pbuilderrc_vMaN --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RUmkyBBN/b2 --logfile b2/build.log openseachest_25.05.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.33+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.33-1~bpo12+1 (2025-07-09) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/949477/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1644655/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -163,7 +195,7 @@ Get: 54 http://deb.debian.org/debian unstable/main amd64 python3-zipp all 3.21.0-1 [10.6 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 78.1.1-0.1 [738 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 meson all 1.7.0-1 [639 kB] -Fetched 19.8 MB in 0s (39.8 MB/s) +Fetched 19.8 MB in 7s (2957 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19849 files and directories currently installed.) @@ -359,8 +391,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Jul 30 05:53:45 UTC 2025. -Universal Time is now: Wed Jul 30 05:53:45 UTC 2025. +Local time is now: Tue Sep 1 12:19:50 UTC 2026. +Universal Time is now: Tue Sep 1 12:19:50 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -414,7 +446,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-25.05.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_25.05.1-1_source.changes +I: user script /srv/workspace/pbuilder/1644655/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/1644655/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-25.05.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_25.05.1-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 25.05.1-1 dpkg-buildpackage: info: source distribution experimental @@ -889,11 +925,31 @@ Found ninja-1.12.1 at /usr/bin/ninja dh_auto_build - cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j40 -v -[1/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 + cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j42 -v +[1/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[2/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-transport/src/intel_rst_helper.c:1126: warning: ISO C forbids an empty translation unit [-Wpedantic] +[2/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:582: warning: ISO C forbids an empty translation unit [-Wpedantic] +[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:15, @@ -905,16 +961,7 @@ ../subprojects/opensea-common/src/error_translation.c:86:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 86 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:16, @@ -931,354 +978,13 @@ ../subprojects/opensea-common/src/secured_env_vars.c:159:1: note: in expansion of macro ‘M_NODISCARD’ 159 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) | ^~~~~~~~~~~ -[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[10/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[11/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[12/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[13/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-common/src/bit_manip.c:14: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-common/src/bit_manip.c:120:45: note: in expansion of macro ‘M_ATTR_UNUSED’ - 120 | M_ATTR_UNUSED size_t outputsize, - | ^~~~~~~~~~~~~ -[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/common_types.h:48, - from ../subprojects/opensea-common/include/type_conversion.h:15, - from ../subprojects/opensea-common/src/type_conversion.c:13: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -[16/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[17/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[10/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -../subprojects/opensea-transport/src/intel_rst_helper.c:1126: warning: ISO C forbids an empty translation unit [-Wpedantic] -[18/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[11/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -../subprojects/opensea-transport/src/of_nvme_helper.c:582: warning: ISO C forbids an empty translation unit [-Wpedantic] -[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c +[12/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/constraint_handling.h:16, @@ -1433,11 +1139,11 @@ ../subprojects/opensea-common/src/constraint_handling.c:85:26: note: in expansion of macro ‘M_ATTR_UNUSED’ 85 | M_ATTR_UNUSED errno_t error) | ^~~~~~~~~~~~~ -[20/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[13/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:15, - from ../subprojects/opensea-common/src/env_detect.c:13: +In file included from ../subprojects/opensea-common/include/unit_conversion.h:15, + from ../subprojects/opensea-common/src/unit_conversion.c:13: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -1570,11 +1276,14 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[21/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -In file included from ../subprojects/opensea-common/include/unit_conversion.h:15, - from ../subprojects/opensea-common/src/unit_conversion.c:13: +[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/env_detect.h:15, + from ../subprojects/opensea-common/src/env_detect.c:13: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -1707,250 +1416,353 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[22/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[16/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/io_utils.h:19, - from ../subprojects/opensea-common/src/posix_secure_file.c:22: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../subprojects/opensea-common/include/type_conversion.h:15, + from ../subprojects/opensea-common/src/type_conversion.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +[17/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[18/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ - 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/posix_secure_file.c:37:1: note: in expansion of macro ‘M_NODISCARD’ - 37 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* filetoCheck) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/posix_secure_file.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/posix_secure_file.c:113:1: note: in expansion of macro ‘M_NODISCARD’ - 113 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) - | ^~~~~~~~~~~ -[23/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[20/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:19: + from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -2048,258 +1860,150 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 137 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | 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-transport/src/nec_legacy_helper.c:111:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:564:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 564 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 612 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); +../subprojects/opensea-transport/src/nec_legacy_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:630:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 630 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); +../subprojects/opensea-transport/src/nec_legacy_helper.c:113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:648:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 648 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); +../subprojects/opensea-transport/src/nec_legacy_helper.c:139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[24/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[21/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/src/validate_format.c:15: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-common/src/bit_manip.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c: In function ‘verify_Format_String_And_Args’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:826:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 826 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:830:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 830 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:834:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 834 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:838:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 838 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Precision(format, &offsetToSpecifier, &formatoffset, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:842:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 842 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:851:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 851 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 769 | M_FALLTHROUGH; \ - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/validate_format.c:858:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ - 858 | M_VALIDATE_FORMAT_RETURN_VAL( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[25/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/src/bit_manip.c:120:45: note: in expansion of macro ‘M_ATTR_UNUSED’ + 120 | M_ATTR_UNUSED size_t outputsize, + | ^~~~~~~~~~~~~ +[22/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[23/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: + from ../subprojects/opensea-transport/include/common_public.h:16, + from ../subprojects/opensea-transport/include/nvme_helper.h:15, + from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, + from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -2397,37 +2101,27 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:111:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[26/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[24/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[25/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/sata_helper_func.c:16: + from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -2668,11 +2362,11 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[27/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[26/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -2770,38 +2464,184 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[28/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[27/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/common_types.h:48, - from ../subprojects/opensea-common/include/time_utils.h:15, - from ../subprojects/opensea-common/src/time_utils.c:13: +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:144:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 144 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[28/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-transport/src/usb_hacks.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3030,11 +2870,31 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3131,44 +2991,195 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:259:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 259 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 260 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 369 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:387:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 387 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:389:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 389 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[30/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[30/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: + from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3265,6 +3276,19 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[31/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/io_utils.h:19, + from ../subprojects/opensea-common/src/posix_secure_file.c:22: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -3400,20 +3424,110 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ + 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult | ^~~~~~~~~~~ -[31/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:37:1: note: in expansion of macro ‘M_NODISCARD’ + 37 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* filetoCheck) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:113:1: note: in expansion of macro ‘M_NODISCARD’ + 113 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) + | ^~~~~~~~~~~ +[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: + from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:19: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3510,6 +3624,58 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 137 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:564:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 564 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 612 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:630:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 630 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:648:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 648 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[33/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:15: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -3642,66 +3808,75 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:259:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 259 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 260 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 369 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:387:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 387 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:389:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 389 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c +../subprojects/opensea-common/src/validate_format.c: In function ‘verify_Format_String_And_Args’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:826:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 826 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:830:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 830 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:834:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 834 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:838:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 838 | M_VALIDATE_FORMAT_RETURN_VAL(validate_Format_Precision(format, &offsetToSpecifier, &formatoffset, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:842:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 842 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:851:17: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 851 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/validate_format.c:769:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 769 | M_FALLTHROUGH; \ + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/validate_format.c:858:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ + 858 | M_VALIDATE_FORMAT_RETURN_VAL( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[34/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/include/common_public.h:16, - from ../subprojects/opensea-transport/include/nvme_helper.h:15, - from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, - from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: + from ../subprojects/opensea-transport/src/sata_helper_func.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3798,25 +3973,156 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[33/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +[35/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/usb_hacks.c:18: +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../subprojects/opensea-common/include/time_utils.h:15, + from ../subprojects/opensea-common/src/time_utils.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -4045,108 +4351,109 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ +[36/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-transport/src/nvme_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[34/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:16, - from ../subprojects/opensea-common/src/secure_file.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] @@ -4283,73 +4590,30 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:159:1: note: in expansion of macro ‘M_NODISCARD’ - 159 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # 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_Close_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:761:1: note: in expansion of macro ‘M_NODISCARD’ - 761 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:859:1: note: in expansion of macro ‘M_NODISCARD’ - 859 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:946:1: note: in expansion of macro ‘M_NODISCARD’ - 946 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, oscoffset_t offset, int initialPosition) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:988:1: note: in expansion of macro ‘M_NODISCARD’ - 988 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:1015:1: note: in expansion of macro ‘M_NODISCARD’ - 1015 | M_NODISCARD oscoffset_t secure_Tell_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:1094:1: note: in expansion of macro ‘M_NODISCARD’ - 1094 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:1143:1: note: in expansion of macro ‘M_NODISCARD’ - 1143 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/secure_file.h:17: -../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/secure_file.c:1149:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1149 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); +../subprojects/opensea-transport/src/nvme_helper.c:591:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 591 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/src/secure_file.c: In function ‘generate_Log_Name’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/secure_file.c:1419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1419 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[35/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-transport/src/nvme_helper.c:592:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 592 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[38/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -4634,260 +4898,291 @@ ../subprojects/opensea-common/src/posix_env_detect.c:830:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 830 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -[36/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[39/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: +In file included from ../subprojects/opensea-common/include/secure_file.h:16, + from ../subprojects/opensea-common/src/secure_file.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:159:1: note: in expansion of macro ‘M_NODISCARD’ + 159 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # 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_Close_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:761:1: note: in expansion of macro ‘M_NODISCARD’ + 761 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:859:1: note: in expansion of macro ‘M_NODISCARD’ + 859 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:946:1: note: in expansion of macro ‘M_NODISCARD’ + 946 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, oscoffset_t offset, int initialPosition) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:988:1: note: in expansion of macro ‘M_NODISCARD’ + 988 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:1015:1: note: in expansion of macro ‘M_NODISCARD’ + 1015 | M_NODISCARD oscoffset_t secure_Tell_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:1094:1: note: in expansion of macro ‘M_NODISCARD’ + 1094 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:1143:1: note: in expansion of macro ‘M_NODISCARD’ + 1143 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/secure_file.h:17: +../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:144:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 144 | 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/src/secure_file.c:1149:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1149 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/src/secure_file.c: In function ‘generate_Log_Name’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); +../subprojects/opensea-common/src/secure_file.c:1419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1419 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -[38/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[39/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[40/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, @@ -5194,7 +5489,7 @@ ../subprojects/opensea-transport/src/ciss_helper.c:1841:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1841 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[40/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[41/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, @@ -5439,11 +5734,11 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[41/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[42/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/nvme_helper.c:14: + from ../subprojects/opensea-transport/src/nvme_cmds.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -5684,21 +5979,7 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:591:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 591 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:592:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 592 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[42/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[43/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, @@ -5965,136 +6246,6 @@ ../subprojects/opensea-operations/src/sas_phy.c:134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ -[43/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/cmds.c:16: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:747:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 747 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 889 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:979:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 979 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:1623:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ [44/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 @@ -6355,11 +6506,12 @@ ../subprojects/opensea-operations/src/buffer_test.c:97:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -[45/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[45/156] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[46/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sector_repair.c:15: + from ../subprojects/opensea-transport/src/cmds.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -6456,163 +6608,40 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: +../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, +../subprojects/opensea-transport/src/cmds.c:747:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 747 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 889 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:979:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 979 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:1623:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[46/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[47/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/nvme_cmds.c:16: + from ../subprojects/opensea-operations/src/ata_Security.c:17: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -6853,11 +6882,63 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[47/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1282:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1282 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1318:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1318 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1323 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[48/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/writesame.c:16: + from ../subprojects/opensea-operations/src/sanitize.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -7098,411 +7179,39 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/writesame.c:33:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 33 | M_ATTR_UNUSED uint64_t startingLBA, - | ^~~~~~~~~~~~~ -[48/156] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[49/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/io_utils.h:19, - from ../subprojects/opensea-common/src/io_utils.c:17: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ - 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult - | ^~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:698:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 698 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:710:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 710 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1412:1: note: in expansion of macro ‘M_NODISCARD’ - 1412 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1447:1: note: in expansion of macro ‘M_NODISCARD’ - 1447 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1482:1: note: in expansion of macro ‘M_NODISCARD’ - 1482 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1507:1: note: in expansion of macro ‘M_NODISCARD’ - 1507 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1532:1: note: in expansion of macro ‘M_NODISCARD’ - 1532 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1557:1: note: in expansion of macro ‘M_NODISCARD’ - 1557 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1592:1: note: in expansion of macro ‘M_NODISCARD’ - 1592 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1627:1: note: in expansion of macro ‘M_NODISCARD’ - 1627 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1658:1: note: in expansion of macro ‘M_NODISCARD’ - 1658 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1689:1: note: in expansion of macro ‘M_NODISCARD’ - 1689 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1720:1: note: in expansion of macro ‘M_NODISCARD’ - 1720 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1759:1: note: in expansion of macro ‘M_NODISCARD’ - 1759 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1789:1: note: in expansion of macro ‘M_NODISCARD’ - 1789 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1819:1: note: in expansion of macro ‘M_NODISCARD’ - 1819 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1851:1: note: in expansion of macro ‘M_DEPRECATED’ - 1851 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1856:1: note: in expansion of macro ‘M_NODISCARD’ - 1856 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1881:1: note: in expansion of macro ‘M_NODISCARD’ - 1881 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1911:1: note: in expansion of macro ‘M_NODISCARD’ - 1911 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1941:1: note: in expansion of macro ‘M_NODISCARD’ - 1941 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1998:1: note: in expansion of macro ‘M_NODISCARD’ - 1998 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:2032:1: note: in expansion of macro ‘M_NODISCARD’ - 2032 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:2061:1: note: in expansion of macro ‘M_NODISCARD’ - 2061 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:20: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/io_utils.c:2612:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2612 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); +../subprojects/opensea-operations/src/sanitize.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:279:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[49/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sanitize.c:16: + from ../subprojects/opensea-operations/src/sector_repair.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -7743,39 +7452,19 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sanitize.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sanitize.c:160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: +../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:279:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, | ^~~~~~~~~~~~~~~~~~~~~~~ -[51/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[50/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:17: + from ../subprojects/opensea-operations/src/writesame.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -8019,22 +7708,10 @@ ../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/ata_legacy_cmds.c:154:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 154 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_legacy_cmds.c:207:44: note: in expansion of macro ‘M_ATTR_UNUSED’ - 207 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_legacy_cmds.c:315:43: note: in expansion of macro ‘M_ATTR_UNUSED’ - 315 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -[52/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-operations/src/writesame.c:33:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 33 | M_ATTR_UNUSED uint64_t startingLBA, + | ^~~~~~~~~~~~~ +[51/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, @@ -8379,11 +8056,14 @@ ../subprojects/opensea-operations/src/set_max_lba.c:509:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[53/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[52/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[53/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/trim_unmap.c:15: + from ../subprojects/opensea-operations/src/nvme_operations.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -8624,26 +8304,70 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/nvme_operations.c:82:50: note: in expansion of macro ‘M_ATTR_UNUSED’ + 82 | M_ATTR_UNUSED bool listOnlySupportedFeatures) + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | 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/nvme_operations.c:96:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 96 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, +../subprojects/opensea-operations/src/nvme_operations.c:423:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 423 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:438:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 438 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:439:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 439 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 460 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:539:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 539 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); | ^~~~~~~~~~~~~~~~~~~~~~~ -[54/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:577:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 577 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 712 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[54/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/ata_Security.c:17: + from ../subprojects/opensea-operations/src/trim_unmap.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -8885,412 +8609,418 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1282:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1282 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); +../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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1318:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1323 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[55/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[55/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/firmware_download.c:16: +In file included from ../subprojects/opensea-common/include/io_utils.h:19, + from ../subprojects/opensea-common/src/io_utils.c:17: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ + 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:698:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 698 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:710:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 710 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1412:1: note: in expansion of macro ‘M_NODISCARD’ + 1412 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1447:1: note: in expansion of macro ‘M_NODISCARD’ + 1447 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1482:1: note: in expansion of macro ‘M_NODISCARD’ + 1482 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1507:1: note: in expansion of macro ‘M_NODISCARD’ + 1507 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1532:1: note: in expansion of macro ‘M_NODISCARD’ + 1532 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1557:1: note: in expansion of macro ‘M_NODISCARD’ + 1557 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1592:1: note: in expansion of macro ‘M_NODISCARD’ + 1592 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1627:1: note: in expansion of macro ‘M_NODISCARD’ + 1627 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1658:1: note: in expansion of macro ‘M_NODISCARD’ + 1658 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1689:1: note: in expansion of macro ‘M_NODISCARD’ + 1689 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1720:1: note: in expansion of macro ‘M_NODISCARD’ + 1720 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1759:1: note: in expansion of macro ‘M_NODISCARD’ + 1759 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1789:1: note: in expansion of macro ‘M_NODISCARD’ + 1789 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:868:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 868 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1010:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1391:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-common/src/io_utils.c:1819:1: note: in expansion of macro ‘M_NODISCARD’ + 1819 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1851:1: note: in expansion of macro ‘M_DEPRECATED’ + 1851 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1856:1: note: in expansion of macro ‘M_NODISCARD’ + 1856 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1881:1: note: in expansion of macro ‘M_NODISCARD’ + 1881 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1911:1: note: in expansion of macro ‘M_NODISCARD’ + 1911 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1941:1: note: in expansion of macro ‘M_NODISCARD’ + 1941 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1998:1: note: in expansion of macro ‘M_NODISCARD’ + 1998 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2032:1: note: in expansion of macro ‘M_NODISCARD’ + 2032 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2061:1: note: in expansion of macro ‘M_NODISCARD’ + 2061 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:20: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1637:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1637 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[56/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/src/io_utils.c:2612:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2612 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[56/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/nvme_operations.c:14: + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -9531,70 +9261,27 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/nvme_operations.c:82:50: note: in expansion of macro ‘M_ATTR_UNUSED’ - 82 | M_ATTR_UNUSED bool listOnlySupportedFeatures) - | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:96:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 96 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:423:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 423 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:438:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 438 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:439:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 439 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 460 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:539:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 539 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:577:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 577 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); +../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 712 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[57/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[57/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o +[58/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/zoned_operations.c:14: + from ../subprojects/opensea-operations/src/depopulate.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -9836,51 +9523,97 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:107:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 107 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); +../subprojects/opensea-operations/src/depopulate.c:331:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 331 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); +../subprojects/opensea-operations/src/depopulate.c:333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 333 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); +../subprojects/opensea-operations/src/depopulate.c:336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 336 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[58/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[59/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-operations/src/depopulate.c:610:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 610 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:872:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1041:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1117:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1117 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1155:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1155 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1213:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1213 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1335:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1335 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[59/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: + from ../subprojects/opensea-operations/src/zoned_operations.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -10122,25 +9855,44 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: +../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[62/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[60/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ata_helper.c:13: + from ../subprojects/opensea-operations/src/sata_phy.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -10382,35 +10134,32 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:346:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 346 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: +../subprojects/opensea-operations/src/sata_phy.c:127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: +../subprojects/opensea-operations/src/sata_phy.c:159:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 159 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1807:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1807 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[63/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/sata_phy.c:190:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 190 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sata_phy.c:16: + from ../subprojects/opensea-operations/src/firmware_download.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -10651,33 +10400,119 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); +../subprojects/opensea-operations/src/firmware_download.c:868:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 868 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:159:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 159 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/firmware_download.c:1010:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:190:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 190 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); +../subprojects/opensea-operations/src/firmware_download.c:1391:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -[65/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:1637:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1637 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[62/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[63/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/format.c:16: + from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:17: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -10918,127 +10753,25 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:844:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 844 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 889 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:1383:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1383 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:1384:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1384 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[66/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_legacy_cmds.c:154:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 154 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_legacy_cmds.c:207:44: note: in expansion of macro ‘M_ATTR_UNUSED’ + 207 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_legacy_cmds.c:315:43: note: in expansion of macro ‘M_ATTR_UNUSED’ + 315 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-operations/include/operations_Common.h:18, @@ -11514,11 +11247,17 @@ ../subprojects/opensea-operations/src/cdl.c:1490:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1490 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[65/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[66/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[67/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/partition_info.c:18: + from ../subprojects/opensea-transport/src/ata_helper.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -11760,28 +11499,38 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: +../subprojects/opensea-transport/src/ata_helper.c:346:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 346 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ata_helper.c:1807:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1807 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ [68/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[69/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[69/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[70/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/dst.c:16: + from ../subprojects/opensea-operations/src/format.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -12101,162 +11850,55 @@ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: +../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, +../subprojects/opensea-operations/src/format.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: +../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/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/dst.c: In function ‘is_Selective_Self_Test_Supported’: +../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/format.c:844:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1994:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1994 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2047 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); +../subprojects/opensea-operations/src/format.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 889 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2185:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2185 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2290:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2290 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2374:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2374 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2381:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2381 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/format.c:1383:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1383 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2396:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2396 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/format.c:1384:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1384 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2401:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2401 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2402:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2402 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[70/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[71/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[72/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[73/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[71/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[74/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[72/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/defect.c:16: + from ../subprojects/opensea-operations/src/partition_info.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -12497,125 +12139,416 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[73/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-operations/src/reservations.c:20: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:856:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 856 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:857:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 857 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:932:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 932 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:933:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 933 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:1260:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1260 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:1261:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1261 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -[75/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:140:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:604:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 604 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:762:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 762 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 992 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:995:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 995 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1124:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1124 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1478:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1478 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1480:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1480 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1671:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1689 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1712:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1874 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1928:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1928 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1951 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1997:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1997 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[74/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/common_public.c:14: + from ../subprojects/opensea-operations/src/defect.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -12934,60 +12867,47 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/common_public.c:1251:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1251 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-operations/src/defect.c:856:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 856 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/common_public.c:1255:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1255 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-operations/src/defect.c:857:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 857 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/common_public.c:1259:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1259 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1271:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1271 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1364:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1364 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1366 | DECLARE_ZERO_INIT_ARRAY(char, 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:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-operations/src/defect.c:932:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 932 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/common_public.c:2019:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 2019 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: -../subprojects/opensea-transport/src/common_public.c:3473:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 3473 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, - | ^~~~~~~~~~~~ -[76/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-operations/src/defect.c:933:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 933 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1260:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1260 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1261:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1261 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +[75/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/depopulate.c:16: + from ../subprojects/opensea-operations/src/dst.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -13228,98 +13148,241 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: +../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | 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-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:107:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 107 | 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-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: +../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:331:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 331 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 333 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 336 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: +../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:610:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: +../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:872:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1041:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:1994:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1994 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2047 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1117:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1117 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/dst.c:2185:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2185 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2290:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2290 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2374:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2374 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1155:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1155 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:2381:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2381 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1213:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1213 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/dst.c:2396:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2396 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2401:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2401 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1335:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1335 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[77/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-operations/src/dst.c:2402:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2402 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[76/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[79/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[80/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/csmi_helper.c:35: + from ../subprojects/opensea-operations/src/seagate_operations.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -13560,228 +13623,271 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) + | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Low_Current_Spin_Up_Enabled’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1164:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1164 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:326:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1165:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1165 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:479:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 479 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1166:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1166 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-operations/src/seagate_operations.c:554:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 554 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/csmi_helper.c:3438:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3438 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3714:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3714 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3726:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3726 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3727:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3727 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3728:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3728 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3750:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3750 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:634:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 634 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/seagate_operations.c:637:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 637 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/seagate_operations.c:640:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 640 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3751:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:1559:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1559 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3775:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3775 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c:1574:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3776:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3776 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_Count’: +../subprojects/opensea-operations/src/seagate_operations.c:1836:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1836 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4709 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); +../subprojects/opensea-operations/src/seagate_operations.c:2115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2115 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5042:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5042 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5076:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5076 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5077:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5077 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5205 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); +../subprojects/opensea-operations/src/seagate_operations.c:2117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2117 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5458:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5458 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5729:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5729 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5731:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5731 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5826:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5826 | DECLARE_ZERO_INIT_ARRAY(uint8_t, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5843:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5843 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5846:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5846 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5849:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5849 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5895:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5895 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5898:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5898 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5901:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5901 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5956:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5956 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5958:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5958 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5991:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5991 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5993:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5993 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5995:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5995 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:6245:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6245 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:6418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[78/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[79/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[80/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-operations/src/seagate_operations.c:3319:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3319 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[81/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/generic_tests.c:16: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -13926,6 +14032,139 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:59:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 59 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:60:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 60 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:273:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 273 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:274:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 274 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:532:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 532 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:533:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 533 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1088:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1088 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1089:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1089 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1234:31: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1234 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1235:31: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1235 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1488:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1488 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1489:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1489 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1636:27: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1636 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1637:27: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1637 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1748:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1748 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1749:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1749 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +[82/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[83/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-operations/src/power_control.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -14022,132 +14261,6 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 80 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 81 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 82 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 83 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[81/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -14370,177 +14483,84 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1197:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1197 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ +../subprojects/opensea-operations/src/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 115 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 121 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 122 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 123 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 124 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 125 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1359:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1359 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ +../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 126 | CHILD_NEW_FW_MATCH_VARS +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[82/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2686:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2686 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[84/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/reservations.c:20: + from ../subprojects/opensea-operations/src/operations.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -14781,159 +14801,245 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) + | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:140:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: +../subprojects/opensea-operations/src/operations.c:495:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 495 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:604:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 604 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); +../subprojects/opensea-operations/src/operations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:615:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: +../subprojects/opensea-operations/src/operations.c:770:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); +../subprojects/opensea-operations/src/operations.c:856:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 856 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:762:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 762 | DECLARE_ZERO_INIT_ARRAY( +../subprojects/opensea-operations/src/operations.c:857:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 857 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 992 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:995:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 995 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: +../subprojects/opensea-operations/src/operations.c:918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 918 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1124:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1124 | DECLARE_ZERO_INIT_ARRAY( +../subprojects/opensea-operations/src/operations.c:919:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 919 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1478:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1478 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); +../subprojects/opensea-operations/src/operations.c:998:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 998 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1480:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1480 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); +../subprojects/opensea-operations/src/operations.c:1066:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1066 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1671:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); +../subprojects/opensea-operations/src/operations.c:1165:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1165 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1689 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); +../subprojects/opensea-operations/src/operations.c:1223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1223 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: +../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1712:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); +../subprojects/opensea-operations/src/operations.c:1434:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1434 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: +../subprojects/opensea-operations/src/operations.c:1526:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1526 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); +../subprojects/opensea-operations/src/operations.c:1547:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1547 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); +../subprojects/opensea-operations/src/operations.c:1793:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: +../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); +../subprojects/opensea-operations/src/operations.c:2682:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2682 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1874 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: +../subprojects/opensea-operations/src/operations.c:2895:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c:2942:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1928:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1928 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); +../subprojects/opensea-operations/src/operations.c:3012:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3012 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: +../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1951:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1951 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c:3347:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3347 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/reservations.c:1997:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1997 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[83/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[84/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/operations.c:3348:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3348 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/operations.c:3711:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3711 | eOSFeatureSupported is_SMART_Check_Operation_Supported(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/operations.c:3784:61: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3784 | eOSFeatureSupported is_ATA_Secure_Erase_Operation_Supported(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[85/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/generic_tests.c:16: + from ../subprojects/opensea-transport/src/common_public.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15174,235 +15280,141 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:59:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 59 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:60:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 60 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:273:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 273 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:274:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 274 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:532:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 532 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:533:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 533 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1088:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1088 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1089:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1089 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1234:31: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1234 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1235:31: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1235 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1488:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1488 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1489:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1489 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1636:27: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1636 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1637:27: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1637 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1748:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1748 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1749:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1749 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -[85/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[86/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/seagate_operations.c:16: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1251:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1251 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1255:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1255 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1259:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1259 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1271:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1271 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1364:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1364 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1366 | DECLARE_ZERO_INIT_ARRAY(char, 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:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:2019:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 2019 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: +../subprojects/opensea-transport/src/common_public.c:3473:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 3473 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, + | ^~~~~~~~~~~~ +[86/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[87/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -15550,316 +15562,225 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Low_Current_Spin_Up_Enabled’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:326:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:479:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 479 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:554:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 554 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:634:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 634 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:637:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 637 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:640:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 640 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1559:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1559 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1574:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1836:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1836 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:2115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2115 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:2117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2117 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:3319:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3319 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[87/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Info.c:18: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 80 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 81 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 82 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 83 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[88/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-transport/src/sg_helper.c:27: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15956,135 +15877,364 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 57 | M_ATTR_UNUSED uint64_t flags, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ +../subprojects/opensea-transport/src/sg_helper.c:325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 325 | 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:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:384:1: note: in expansion of macro ‘M_NODISCARD’ + 384 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:524:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 524 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, DRIVER_VERSION_LIST_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:647:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 647 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ +../subprojects/opensea-transport/src/sg_helper.c:742:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 742 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ +../subprojects/opensea-transport/src/sg_helper.c:916:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 916 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../subprojects/opensea-transport/src/sg_helper.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 981 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[88/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1106:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1106 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1182 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1222:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1222 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1388:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1388 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1415 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1424:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1424 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1472:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1472 | 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:1902:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1902 | 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:2159:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2159 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:2743:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2743 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:3262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3262 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:3403:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3403 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3435:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3435 | eReturnValues os_Read(M_ATTR_UNUSED tDevice* device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3436:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3436 | M_ATTR_UNUSED uint64_t lba, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3437:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3437 | M_ATTR_UNUSED bool forceUnitAccess, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3438:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3438 | M_ATTR_UNUSED uint8_t* ptrData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3439:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3439 | M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3444:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3444 | eReturnValues os_Write(M_ATTR_UNUSED tDevice* device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3445:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3445 | M_ATTR_UNUSED uint64_t lba, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3446:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3446 | M_ATTR_UNUSED bool forceUnitAccess, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3447:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3447 | M_ATTR_UNUSED uint8_t* ptrData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3448:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3448 | M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:25: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3458:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3458 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3643:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3643 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[89/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:18: + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -16409,15 +16559,24 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1197:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1197 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 115 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | 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_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 121 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -16425,17 +16584,26 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | 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_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 122 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ +../include/openseachest_util_options.h:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 123 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | 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_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 124 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -16443,20 +16611,23 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | 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_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 125 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[90/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[91/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[92/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1359:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1359 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 126 | CHILD_NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~ +[90/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/operations.c:16: + from ../subprojects/opensea-transport/src/scsi_helper.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -16697,245 +16868,82 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1281:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1281 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1369:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1369 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:495:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 495 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); +../subprojects/opensea-transport/src/scsi_helper.c:2251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2251 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:770:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:856:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 856 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:857:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 857 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 918 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c:2252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2252 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:919:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 919 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c:2253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2253 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:998:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 998 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); +../subprojects/opensea-transport/src/scsi_helper.c:2488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2488 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:1066:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1066 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); +../subprojects/opensea-transport/src/scsi_helper.c:2657:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2657 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:1165:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1165 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1223 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1434:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1434 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1526:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1526 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1547:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1547 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1793:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: +../subprojects/opensea-transport/src/scsi_helper.c:2673:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2673 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2682:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2682 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: +../subprojects/opensea-transport/src/scsi_helper.c:2674:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2674 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2895:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); +../subprojects/opensea-transport/src/scsi_helper.c:3132:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2942:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); +../subprojects/opensea-transport/src/scsi_helper.c:3457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3457 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:3012:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3012 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:3347:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3347 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:3348:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3348 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/operations.c:3711:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3711 | eOSFeatureSupported is_SMART_Check_Operation_Supported(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/operations.c:3784:61: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3784 | eOSFeatureSupported is_ATA_Secure_Erase_Operation_Supported(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -[93/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[91/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: + from ../utils/C/openSeaChest/openSeaChest_Info.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -17260,15 +17268,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -17276,8 +17284,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -17285,8 +17293,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -17294,14 +17302,14 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[94/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[92/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/power_control.c:16: + from ../subprojects/opensea-transport/src/csmi_helper.c:35: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -17542,619 +17550,450 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: +../subprojects/opensea-transport/src/csmi_helper.c:1164:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1164 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:1165:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1165 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:1166:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1166 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/csmi_helper.c:3438:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3438 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:3714:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3714 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:3726:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3726 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: +../subprojects/opensea-transport/src/csmi_helper.c:3727:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3727 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-transport/src/csmi_helper.c:3728:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3728 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); +../subprojects/opensea-transport/src/csmi_helper.c:3750:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3750 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3751:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3775:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3775 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3776:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3776 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4709 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); +../subprojects/opensea-transport/src/csmi_helper.c:5042:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5042 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5076:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5076 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5077:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5077 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5205:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5205 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: +../subprojects/opensea-transport/src/csmi_helper.c:5458:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5458 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2686:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2686 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[95/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-transport/src/csmi_helper.c:5729:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5729 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5731:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5731 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5826:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5826 | DECLARE_ZERO_INIT_ARRAY(uint8_t, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5843:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5843 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5846:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5846 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5849:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5849 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5895:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5895 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5898:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5898 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5901:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5901 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5956:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5956 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5958:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5958 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5991:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5991 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5993:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5993 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5995:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5995 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:6245:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6245 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:6418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[93/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[96/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[94/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/sg_helper.c:27: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ +[95/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Logs.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 57 | M_ATTR_UNUSED uint64_t flags, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 325 | 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:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:384:1: note: in expansion of macro ‘M_NODISCARD’ - 384 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:524:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 524 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, DRIVER_VERSION_LIST_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:647:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 647 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:742:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 742 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:916:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 916 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 981 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1106:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1106 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1182 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1222:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1222 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1388:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1388 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1415 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1424:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1424 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1472:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1472 | 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:1902:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1902 | 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:2159:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2159 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:2743:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2743 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3262 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3403:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3403 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3435:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3435 | eReturnValues os_Read(M_ATTR_UNUSED tDevice* device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3436:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3436 | M_ATTR_UNUSED uint64_t lba, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3437:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3437 | M_ATTR_UNUSED bool forceUnitAccess, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3438:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3438 | M_ATTR_UNUSED uint8_t* ptrData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3439:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3439 | M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3444:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3444 | eReturnValues os_Write(M_ATTR_UNUSED tDevice* device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3445:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3445 | M_ATTR_UNUSED uint64_t lba, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3446:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3446 | M_ATTR_UNUSED bool forceUnitAccess, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3447:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3447 | M_ATTR_UNUSED uint8_t* ptrData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3448:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3448 | M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:25: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3458:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3458 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3643:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3643 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -[97/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/logs.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -18251,6 +18090,54 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | 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 + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | 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 + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | 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 + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | 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 + | ^~~~~~~~~~~~~~~~~~~ +[96/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -18398,6 +18285,102 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ ../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ @@ -18473,120 +18456,56 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/logs.c:332:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 332 | static bool use_6B_SCSI_Mode(tDevice* device, M_ATTR_UNUSED uint8_t modePage, uint8_t subpage) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2517:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2517 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2524:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2524 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2848:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2848 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2855:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2855 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2862:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2862 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3130:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3130 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3137:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3137 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3144:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3144 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3363:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3363 | 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/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3429:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3429 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3975:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3975 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4089:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4089 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4123:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4123 | 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_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4277:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4277 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: +../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4321:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4321 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: +../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4378:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4378 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -[98/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[97/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[98/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[99/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -18985,14 +18904,110 @@ ../utils/C/openSeaChest/openSeaChest_Basics.c:2289:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2289 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[99/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[100/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[100/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[101/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Format.c:18: +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/scsi_cmds.c:16: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -19137,333 +19152,1089 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘private_SCSI_Send_CDB’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:136:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, lastSenseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_SecurityProtocol_In’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:259:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 259 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Supported_Operation_Codes’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:310:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 310 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Sanitize_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:613:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Request_Sense_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:728:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 728 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Sense_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:774:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 774 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Select_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:891:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 891 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Send_Diagnostic’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 981 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1011:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1011 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Sense_6’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Sense_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1165:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1165 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Select_6’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1292:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1292 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Select_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1344:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1344 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Buffer’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Inquiry’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Media_Serial_Number’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1618:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1618 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Attribute’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1668:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1668 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1772:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1772 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Receive_Diagnostic_Results’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1827:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_I_T_Nexus’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1866:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1866 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Aliases’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1908:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1908 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Identifying_Information’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1954:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1954 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Luns’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Priority’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2041:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Supported_Task_Management_Functions’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2086:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Timestamp’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_SecurityProtocol_Out’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2181:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Identifying_Information’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2233 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Priority’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2278 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Target_Port_Groups’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2322:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Timestamp’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2363:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Test_Unit_Ready’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Attribute’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2444:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2444 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Compare_And_Write’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2500:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2500 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_Unit’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2563:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2563 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_With_Preset’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2620:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2620 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Get_Lba_Status’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2660:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2713:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2713 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2778:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2778 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2833:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2833 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2871:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2871 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prevent_Allow_Medium_Removal’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2911:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2911 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_6’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2942:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2980:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2980 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_12’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3040:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3040 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3171:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3171 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3221:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3221 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_12’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3274:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3274 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3328:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3328 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3379:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3379 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Reassign_Blocks’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3431:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3431 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Referrals’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3475:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3475 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Start_Stop_Unit’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3529:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3575:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3575 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3613:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Unmap’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3707:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_12’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3762:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3762 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3819:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3819 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3883:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3883 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_6’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3929:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3929 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3966:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3966 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_12’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4015:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4015 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4064:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4117 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4167:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4167 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_12’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4214:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4214 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4311 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Long_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4356:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4356 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Long_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4407:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4407 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_16’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4590:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4590 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_xp_Write_10’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4869:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4869 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_xp_Write_32’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4918:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_Out_Std_Format_CDB’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4968 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_In_Report’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5096:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5096 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_In_ZD’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5169:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5169 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Get_Physical_Element_Status’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5291:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_And_Truncate’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5337 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_Element_And_Modify_Zones’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5368:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5368 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Restore_Elements_And_Rebuild’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5399:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5399 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Persistent_Reserve_In’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5433:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5433 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Persistent_Reserve_Out’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Rezero_Unit’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Activate’: +../subprojects/opensea-transport/src/scsi_cmds.c:5235:12: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 5235 | return scsi_Zone_Management_In_ZD(device, ZM_ACTION_ZONE_ACTIVATE, all, zoneID, numberOfZones, otherZoneDomainID, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5236 | allocationLength, ptrData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5233:43: note: accessing argument 7 of a function declared with attribute ‘access (write_only, 7, 6)’ + 5233 | uint8_t* ptrData) + | ~~~~~~~~~^~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Query’: +../subprojects/opensea-transport/src/scsi_cmds.c:5247:12: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 5247 | return scsi_Zone_Management_In_ZD(device, ZM_ACTION_ZONE_QUERY, all, zoneID, numberOfZones, otherZoneDomainID, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5248 | allocationLength, ptrData); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c:5245:40: note: accessing argument 7 of a function declared with attribute ‘access (write_only, 7, 6)’ + 5245 | uint8_t* ptrData) + | ~~~~~~~~~^~~~~~~ +[102/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, + from ../subprojects/opensea-operations/src/logs.c:13: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 323 | DECLARE_ZERO_INIT_ARRAY( \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ - 97 | PATTERN_VARS - | ^~~~~~~~~~~~ -[101/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/scsi_helper.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/logs.c:332:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 332 | static bool use_6B_SCSI_Mode(tDevice* device, M_ATTR_UNUSED uint8_t modePage, uint8_t subpage) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2517:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2517 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2524:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2524 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2848:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2848 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2855:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2855 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2862:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2862 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3130:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3130 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3137:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3137 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3144:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3144 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:3363:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3363 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:3429:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3429 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:3975:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3975 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4089:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4089 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4123:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4123 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4277:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4277 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4321:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4321 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4378:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4378 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[103/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Format.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -19608,78 +20379,233 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1281:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1281 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1369:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1369 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2251 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 84 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2252 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 85 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2253 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 86 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2488 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2657:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2657 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2673:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2673 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2674:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2674 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3132:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 87 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3457 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[102/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 323 | DECLARE_ZERO_INIT_ARRAY( \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ + 97 | PATTERN_VARS + | ^~~~~~~~~~~~ +[104/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -20051,14 +20977,11 @@ ../utils/C/openSeaChest/openSeaChest_NVMe.c:1335:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1335 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[103/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[104/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[105/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Security.c:18: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -20383,15 +21306,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 98 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -20399,8 +21322,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 99 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -20408,8 +21331,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 100 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -20417,41 +21340,14 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:101:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 101 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:2633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:130:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 130 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:802:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 802 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:811:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 811 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:820:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 820 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[105/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[106/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -20776,287 +21672,286 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[106/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[107/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -21142,15 +22037,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 73 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21158,8 +22053,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 74 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21167,8 +22062,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 75 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21176,23 +22071,14 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 76 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:3174:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3174 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 96 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ -[107/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[108/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: + from ../utils/C/openSeaChest/openSeaChest_Security.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -21517,15 +22403,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 98 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21533,8 +22419,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 99 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21542,8 +22428,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 100 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -21551,14 +22437,41 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Security.c:101:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 101 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[108/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:130:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 130 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:802:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 802 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:811:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 811 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:820:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 820 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[109/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/scsi_cmds.c:16: + from ../subprojects/opensea-transport/src/ata_cmds.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -21799,892 +22712,347 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘private_SCSI_Send_CDB’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:136:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, lastSenseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_SecurityProtocol_In’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:259:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 259 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Supported_Operation_Codes’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:310:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 310 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Sanitize_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:613:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Request_Sense_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:728:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 728 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Sense_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:774:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 774 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Select_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:891:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 891 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Send_Diagnostic’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 981 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1011:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1011 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Sense_6’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Sense_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1165:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1165 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Select_6’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1292:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1292 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Select_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1344:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1344 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Buffer’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Inquiry’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Media_Serial_Number’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1618:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1618 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Attribute’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1668:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1668 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1772:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1772 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Receive_Diagnostic_Results’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1827:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_I_T_Nexus’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1866:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1866 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Aliases’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1908:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1908 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Identifying_Information’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1954:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1954 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Luns’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Priority’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2041:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Supported_Task_Management_Functions’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2086:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Timestamp’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_SecurityProtocol_Out’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2181:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Identifying_Information’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2233 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Priority’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2278 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Target_Port_Groups’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2322:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Timestamp’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2363:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Test_Unit_Ready’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Attribute’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2444:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2444 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Compare_And_Write’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2500:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2500 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_Unit’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2563:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2563 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_With_Preset’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2620:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2620 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Get_Lba_Status’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2660:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2713:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2713 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2778:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2778 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2833:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2833 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2871:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2871 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prevent_Allow_Medium_Removal’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2911:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2911 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_6’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2942:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2980:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2980 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_12’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3040:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3040 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3171:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3171 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3221:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3221 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_12’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3274:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3274 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3328:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3328 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3379:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3379 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Reassign_Blocks’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3431:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3431 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Referrals’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3475:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3475 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Start_Stop_Unit’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3529:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3575:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3575 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3613:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Unmap’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3707:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_12’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3762:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3762 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3819:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3819 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3883:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3883 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_6’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3929:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3929 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3966:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3966 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_12’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4015:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4015 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4064:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4117:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4117 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4167:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4167 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_12’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4214:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4214 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4311:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4311 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Long_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4356:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4356 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Long_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4407:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4407 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_16’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4590:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4590 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_xp_Write_10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4869:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4869 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_xp_Write_32’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4918:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4918 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_Out_Std_Format_CDB’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4968 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_In_Report’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5096:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5096 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_In_ZD’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5169:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5169 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Get_Physical_Element_Status’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5291:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_And_Truncate’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5337 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Remove_Element_And_Modify_Zones’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5368:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5368 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Restore_Elements_And_Rebuild’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5399:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5399 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Persistent_Reserve_In’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5433:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5433 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Persistent_Reserve_Out’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Rezero_Unit’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Activate’: -../subprojects/opensea-transport/src/scsi_cmds.c:5235:12: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 5235 | return scsi_Zone_Management_In_ZD(device, ZM_ACTION_ZONE_ACTIVATE, all, zoneID, numberOfZones, otherZoneDomainID, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5236 | allocationLength, ptrData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5233:43: note: accessing argument 7 of a function declared with attribute ‘access (write_only, 7, 6)’ - 5233 | uint8_t* ptrData) - | ~~~~~~~~~^~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Query’: -../subprojects/opensea-transport/src/scsi_cmds.c:5247:12: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 5247 | return scsi_Zone_Management_In_ZD(device, ZM_ACTION_ZONE_QUERY, all, zoneID, numberOfZones, otherZoneDomainID, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5248 | allocationLength, ptrData); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c:5245:40: note: accessing argument 7 of a function declared with attribute ‘access (write_only, 7, 6)’ - 5245 | uint8_t* ptrData) - | ~~~~~~~~~^~~~~~~ -[109/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:507:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 507 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:513:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 513 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:536:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 536 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:542:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 542 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:548:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 548 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:554:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 554 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:560:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 560 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:1476:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1476 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:1525:33: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1525 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:1575:32: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1575 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/include/ata_helper_func.h:15, + from ../subprojects/opensea-transport/src/ata_cmds.c:27: +In function ‘create_ata_dma_read_lba_cmd’, + inlined from ‘ata_Read_DMA’ at ../subprojects/opensea-transport/src/ata_cmds.c:1481:47: +../subprojects/opensea-transport/include/ata_helper.h:1247:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1247 | return create_ata_dma_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1248 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_DMA’: +../subprojects/opensea-transport/src/ata_cmds.c:1475:51: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1475 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +In function ‘create_ata_pio_read_lba_cmd’, + inlined from ‘ata_Read_Multiple’ at ../subprojects/opensea-transport/src/ata_cmds.c:1530:47: +../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1051 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Multiple’: +../subprojects/opensea-transport/src/ata_cmds.c:1524:56: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1524 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +In function ‘create_ata_pio_read_lba_cmd’, + inlined from ‘ata_Read_Sectors’ at ../subprojects/opensea-transport/src/ata_cmds.c:1580:47: +../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1051 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Sectors’: +../subprojects/opensea-transport/src/ata_cmds.c:1574:55: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1574 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +[110/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/farm_log.c:16: +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../src/openseachest_util_options.c:16: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -22764,136 +23132,53 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1133:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1133 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1135:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1135 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1160 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1173 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1189:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1189 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1195:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1195 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1200:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1200 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2812 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2817:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2817 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3368:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3368 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3369:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3369 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3370:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3370 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3371:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3371 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[110/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[111/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -23218,54 +23503,47 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[111/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[112/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -23413,6 +23691,102 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ ../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ @@ -23491,6 +23865,53 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[113/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ ../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ @@ -23554,138 +23975,36 @@ ../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 108 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 109 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 110 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:111:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 111 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 323 | DECLARE_ZERO_INIT_ARRAY( \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:119:5: note: in expansion of macro ‘PATTERN_VARS’ - 119 | PATTERN_VARS - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:2633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:134:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 134 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1164:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1164 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1173:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1173 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1182 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1948:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1948 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1949:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1949 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[112/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -23833,102 +24152,6 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ ../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ @@ -24010,15 +24233,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 73 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24026,8 +24249,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 74 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24035,8 +24258,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 75 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24044,46 +24267,19 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 76 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[113/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../include/openseachest_util_options.h:3174:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3174 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 96 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ +[114/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -24448,11 +24644,11 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[114/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[115/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: + from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -24777,15 +24973,21 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) + | ^~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 88 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 108 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24793,8 +24995,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 89 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 109 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24802,8 +25004,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 90 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 110 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -24811,451 +25013,430 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 91 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Erase.c:111:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 111 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2813 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ +../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 323 | DECLARE_ZERO_INIT_ARRAY( \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ - 127 | SCSI_SET_MP_VARS - | ^~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:119:5: note: in expansion of macro ‘PATTERN_VARS’ + 119 | PATTERN_VARS + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2256:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2256 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2259:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2259 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2262:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2262 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2265:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2265 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2268:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2268 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2271:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2271 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2274:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2274 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2277:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2277 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2280:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2280 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2283:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2283 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ +../include/openseachest_util_options.h:2633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:134:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 134 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1164:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1164 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1173:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1173 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1182 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1948:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1948 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1949:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1949 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[115/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[116/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ata_cmds.c:16: +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:507:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 507 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:513:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 513 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:536:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 536 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:542:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 542 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:548:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 548 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:554:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 554 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:560:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 560 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1476:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1476 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1525:33: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1525 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1575:32: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1575 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/include/ata_helper_func.h:15, - from ../subprojects/opensea-transport/src/ata_cmds.c:27: -In function ‘create_ata_dma_read_lba_cmd’, - inlined from ‘ata_Read_DMA’ at ../subprojects/opensea-transport/src/ata_cmds.c:1481:47: -../subprojects/opensea-transport/include/ata_helper.h:1247:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1247 | return create_ata_dma_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1248 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_DMA’: -../subprojects/opensea-transport/src/ata_cmds.c:1475:51: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1475 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -In function ‘create_ata_pio_read_lba_cmd’, - inlined from ‘ata_Read_Multiple’ at ../subprojects/opensea-transport/src/ata_cmds.c:1530:47: -../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1051 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Multiple’: -../subprojects/opensea-transport/src/ata_cmds.c:1524:56: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1524 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -In function ‘create_ata_pio_read_lba_cmd’, - inlined from ‘ata_Read_Sectors’ at ../subprojects/opensea-transport/src/ata_cmds.c:1580:47: -../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1051 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Sectors’: -../subprojects/opensea-transport/src/ata_cmds.c:1574:55: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1574 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -[116/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[117/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -25620,7 +25801,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[117/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[118/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -25985,7 +26166,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[118/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[119/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -26350,7 +26531,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[119/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[120/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -26715,7 +26896,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[120/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[121/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -27080,7 +27261,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[121/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[122/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -27445,250 +27626,250 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[122/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[123/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/farm_log.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -27768,49 +27949,132 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[123/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1133:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1133 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1135:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1135 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1160 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1173 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1189:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1189 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1195:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1195 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1200:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1200 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2812 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2817:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2817 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3368:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3368 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3369:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3369 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3370:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3370 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3371:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3371 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[124/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -28175,11 +28439,11 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[124/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[125/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../src/openseachest_util_options.c:16: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -28504,47 +28768,84 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[125/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[126/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-operations/src/drive_info.c:14: + from ../subprojects/opensea-transport/src/sntl_helper.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -28785,397 +29086,586 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Set_Sense_Data_For_Translation’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:759:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 759 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 132 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1415 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:383:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 383 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1848:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1848 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_ID_Data_Log’: +../subprojects/opensea-transport/src/sntl_helper.c:566:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 566 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:2472:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2472 | DECLARE_ZERO_INIT_ARRAY(char, zacMinorVersion, 36); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: +../subprojects/opensea-transport/src/sntl_helper.c:688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 688 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); +../subprojects/opensea-transport/src/sntl_helper.c:815:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 815 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 857 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:889:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 889 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Information’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/sntl_helper.c:915:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 915 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:931:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 931 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1555 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Block_Limits_VPD_Page_B0h’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3667:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3667 | DECLARE_ZERO_INIT_ARRAY(char, versionDescriptorString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH + 1); +../subprojects/opensea-transport/src/sntl_helper.c:1637:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1637 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:1722:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:1753:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1753 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_VPD_Data’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Logical_Block_Provisioning_VPD_Page_B2h’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4149:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4149 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:1797:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1797 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4153:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4153 | DECLARE_ZERO_INIT_ARRAY(char, lbprzStr, 22); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Mode_Data’: +../subprojects/opensea-transport/src/sntl_helper.c:1862:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1862 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5117 | DECLARE_ZERO_INIT_ARRAY( +../subprojects/opensea-transport/src/sntl_helper.c:1931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1931 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, INQ_RETURN_DATA_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5261:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5261 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:1987:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1987 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5460:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:1992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1992 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5506:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5506 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2008:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2008 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5609:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5609 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2063:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5671:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5671 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2133:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2133 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5800:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5800 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2206:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2206 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5817:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5817 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2305:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2305 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5880:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5880 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2308:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5898:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5898 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2309:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2309 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5938:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5938 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2401:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5989:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5989 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6030:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6030 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2405:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2405 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6174:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6174 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2470:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2470 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6282:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6282 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2471:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2471 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6401:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6401 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6582:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6582 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2533:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2533 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6637:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6637 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2534 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6670:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6670 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2612 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6685:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6685 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: +../subprojects/opensea-transport/src/sntl_helper.c:2615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7459:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2616 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7515:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7515 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2774:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2774 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7593:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7593 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedSecurityProtocols, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Log_Data’: +../subprojects/opensea-transport/src/sntl_helper.c:2776:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2776 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7873:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7873 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); +../subprojects/opensea-transport/src/sntl_helper.c:2822:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2822 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:2909:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8008:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8008 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); +../subprojects/opensea-transport/src/sntl_helper.c:2911:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2911 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8024:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8024 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:2936:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2936 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8025:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8025 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:3091:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3091 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8035:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8035 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:4129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8036 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:4130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8176 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c:4132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4132 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8183:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8183 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:4365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4365 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:4501:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4501 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5006:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5006 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5067:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5067 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5302:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5302 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5534 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5767:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5767 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5844 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:5914:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5914 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:5953:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5953 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6063:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6097:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6097 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8222:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8222 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:6136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6136 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6329:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6329 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6464:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6464 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:6579:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 6579 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:6734:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6734 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7007:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7007 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7230:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7230 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7232:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7232 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7268:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8223 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7309:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7309 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8235 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7375:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7375 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7416:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7416 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8236 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7464:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7464 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8248:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8248 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7633:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7633 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8249 | DECLARE_ZERO_INIT_ARRAY(char, utilizationUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7763:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7763 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:7858:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7858 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘print_SAS_Sata_Device_Information’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8335:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8335 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:7940:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8041:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8127 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8217:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8217 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8336:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8336 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:8352:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8352 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8429:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8429 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8505:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:8580:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8580 | 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:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:9484:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 9484 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:9491:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 9491 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:10680:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10680 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:8989:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8989 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:10812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10812 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:9002:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9002 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); +../subprojects/opensea-transport/src/sntl_helper.c:10828:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10828 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:11068:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sntl_helper.c:11078:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11078 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[126/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[127/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -29540,7 +30030,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[127/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[128/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -29905,7 +30395,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[128/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[129/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -30270,11 +30760,155 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[129/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[130/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, - from ../subprojects/opensea-transport/src/sntl_helper.c:16: +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../src/openseachest_util_options.c:16: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -30371,6 +31005,131 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[131/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -30515,586 +31274,323 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Set_Sense_Data_For_Translation’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 132 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:383:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 383 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:566:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 566 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 688 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:815:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 815 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 857 | DECLARE_ZERO_INIT_ARRAY( - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:889:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 889 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:915:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 915 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:931:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 931 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1555 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1637:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1637 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1722:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1753:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1753 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1797:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1797 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1862:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1862 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1931 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, INQ_RETURN_DATA_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1987:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1987 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1992:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1992 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2008:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2008 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2063:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2133:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2133 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2206:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2206 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2305:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2305 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2308:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2309:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2309 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2401:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2404:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2404 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2405:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2405 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2470:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2470 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2471:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2471 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2533:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2533 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2534 | 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/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2612 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 88 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 89 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2616 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Start_Stop_Cycle_Log_0x0E’: +../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 90 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2774:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2774 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 20); +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 91 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2776:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2776 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../include/openseachest_util_options.h:2813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2813 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ + 127 | SCSI_SET_MP_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2822:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2822 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); +../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Self_Test_Results_Log_0x10’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2909:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2911:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2911 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2936:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2936 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:3091:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3091 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4132 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4365 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4501:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4501 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5006:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5006 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5067:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5067 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5302:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5302 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5534 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5767:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5767 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5844 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5914:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5914 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:5953:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5953 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6063:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6063 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6097:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6097 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6136 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6329:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6329 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6464:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6464 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:2256:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2256 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:6579:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 6579 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6734:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6734 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7007:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7007 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7230:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7230 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7232:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7232 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7268:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7309:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7309 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7375:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7375 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7416:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7416 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7464:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7464 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7633:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7633 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7763:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7763 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7858:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7858 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7940:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8041:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8127 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8217:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8217 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8352:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8352 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8429:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8429 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8505:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:8580:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8580 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Check_Operation_Code_and_Service_Action’: +../utils/C/openSeaChest/openSeaChest_Configure.c:2259:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2259 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:9484:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 9484 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:2262:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2262 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:9491:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 9491 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:10680:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10680 | 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’: +../utils/C/openSeaChest/openSeaChest_Configure.c:2265:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2265 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2268:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2268 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2271:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2271 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2274:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2274 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2277:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2277 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2280:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2280 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2283:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2283 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:10812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10812 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:10828:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10828 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:11068:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:11078:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11078 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[130/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[132/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, @@ -31459,250 +31955,250 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[131/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[133/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/drive_info.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -31782,49 +32278,319 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/drive_info.c:759:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 759 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1415 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:1848:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1848 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_ID_Data_Log’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:2472:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2472 | DECLARE_ZERO_INIT_ARRAY(char, zacMinorVersion, 36); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Information’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[132/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3667:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3667 | DECLARE_ZERO_INIT_ARRAY(char, versionDescriptorString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_VPD_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4149:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4149 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4153:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4153 | DECLARE_ZERO_INIT_ARRAY(char, lbprzStr, 22); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Mode_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5117 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5261:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5261 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5460:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5506:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5506 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5609:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5609 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5671:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5671 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5800:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5800 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5817:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5817 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5880:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5880 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5898:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5898 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5938:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5938 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5989:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5989 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6030:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6030 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6174:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6174 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6282:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6282 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6401:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6401 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6582:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6582 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6637:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6637 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6670:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6670 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6685:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6685 | DECLARE_ZERO_INIT_ARRAY( + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7459:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7515:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7515 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7593:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7593 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedSecurityProtocols, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Log_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7873:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7873 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8008:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8008 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8024:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8024 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8025:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8025 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8035:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8035 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8036 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8176 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8183:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8183 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8222:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8222 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8223 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8235 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8236 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8248:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8248 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8249 | DECLARE_ZERO_INIT_ARRAY(char, utilizationUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘print_SAS_Sata_Device_Information’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8335:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8335 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8336:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8336 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:8989:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8989 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:9002:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9002 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[134/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/bit_manip.h:16, @@ -32720,736 +33486,6 @@ ../subprojects/opensea-operations/src/smart.c:9724:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 9724 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[133/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[134/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | 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:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ [135/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 @@ -35611,25 +35647,25 @@ 10139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, devStats, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ [139/156] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -[140/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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/156] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[149/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[150/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[151/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[152/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[153/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[154/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[155/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 -[156/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[149/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[150/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[151/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[152/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[153/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[154/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[155/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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 +[156/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.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=40 meson test --verbose + cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=42 meson test --verbose No tests defined. create-stamp debian/debhelper-build-stamp dh_prep @@ -35697,12 +35733,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/1644655/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1644655/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/949477 and its subdirectories -I: Current time: Tue Jul 29 17:55:45 -12 2025 -I: pbuilder-time-stamp: 1753854945 +I: removing directory /srv/workspace/pbuilder/1644655 and its subdirectories +I: Current time: Wed Sep 2 02:20:47 +14 2026 +I: pbuilder-time-stamp: 1788265247