Diff of the two buildlogs: -- --- b1/build.log 2024-11-30 04:32:12.580081925 +0000 +++ b2/build.log 2024-11-30 04:34:20.726306258 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 1 22:53:58 -12 2026 -I: pbuilder-time-stamp: 1767351238 +I: Current time: Sat Nov 30 18:32:16 +14 2024 +I: pbuilder-time-stamp: 1732941136 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: unpacking openseachest_24.08.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/44155/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/64049/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 30 04:32 /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/64049/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/64049/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8e318a6241744449996cb60f2832ae84' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='44155' - PS1='# ' - PS2='> ' + INVOCATION_ID=cae5a48b762b4935b8708aa59c5660c3 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=64049 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.8iZeQ6LG/pbuilderrc_ucq4 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8iZeQ6LG/b1 --logfile b1/build.log openseachest_24.08.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8iZeQ6LG/pbuilderrc_fQOK --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8iZeQ6LG/b2 --logfile b2/build.log openseachest_24.08.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/44155/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/64049/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -176,7 +208,7 @@ Get: 61 http://deb.debian.org/debian trixie/main i386 python3-zipp all 3.21.0-1 [10.6 kB] Get: 62 http://deb.debian.org/debian trixie/main i386 python3-setuptools all 74.1.2-2 [736 kB] Get: 63 http://deb.debian.org/debian trixie/main i386 meson all 1.6.0-1 [628 kB] -Fetched 29.3 MB in 1s (30.4 MB/s) +Fetched 29.3 MB in 1s (23.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 19950 files and directories currently installed.) @@ -400,8 +432,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jan 2 10:54:19 UTC 2026. -Universal Time is now: Fri Jan 2 10:54:19 UTC 2026. +Local time is now: Sat Nov 30 04:32:46 UTC 2024. +Universal Time is now: Sat Nov 30 04:32:46 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -457,7 +489,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-24.08.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../openseachest_24.08.1-1_source.changes +I: user script /srv/workspace/pbuilder/64049/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/64049/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-24.08.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../openseachest_24.08.1-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 24.08.1-1 dpkg-buildpackage: info: source distribution unstable @@ -925,34 +961,11 @@ Found ninja-1.12.1 at /usr/bin/ninja dh_auto_build - cd obj-i686-linux-gnu && LC_ALL=C.UTF-8 ninja -j22 -v -[1/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 + cd obj-i686-linux-gnu && LC_ALL=C.UTF-8 ninja -j10 -v +[1/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[2/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[3/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -c ../subprojects/opensea-common/src/secured_env_vars.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/secured_env_vars.h:18, - from ../subprojects/opensea-common/src/secured_env_vars.c:16: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ - 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secured_env_vars.c:155:1: note: in expansion of macro ‘M_NODISCARD’ - 155 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) - | ^~~~~~~~~~~ -[5/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[2/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/error_translation.h:18, @@ -964,158 +977,16 @@ ../subprojects/opensea-common/src/error_translation.c:85:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 85 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[6/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[7/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -c ../subprojects/opensea-common/src/prng.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[8/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[3/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/env_detect.h:20, - from ../subprojects/opensea-common/include/unit_conversion.h:18, - from ../subprojects/opensea-common/src/unit_conversion.c:16: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -[9/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[4/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[10/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[5/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] -[11/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c +[6/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/env_detect.h:20, @@ -1252,95 +1123,17 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[12/148] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c +[7/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -c ../subprojects/opensea-common/src/sleep.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[13/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[8/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[14/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[9/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/secure_file.h:20, - from ../subprojects/opensea-common/src/posix_secure_file.c:23: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/secured_env_vars.h:18, + from ../subprojects/opensea-common/src/secured_env_vars.c:16: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ @@ -1350,156 +1143,21 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/posix_secure_file.c:36:1: note: in expansion of macro ‘M_NODISCARD’ - 36 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/posix_secure_file.c:72:1: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/posix_secure_file.c:108:1: note: in expansion of macro ‘M_NODISCARD’ - 108 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) +../subprojects/opensea-common/src/secured_env_vars.c:155:1: note: in expansion of macro ‘M_NODISCARD’ + 155 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) | ^~~~~~~~~~~ -[15/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[16/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[17/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] -[18/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 73 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[19/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[10/148] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:20: -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:145:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 145 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmCDB, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:556:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 556 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:598:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 598 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:632:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 632 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[20/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[11/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[21/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[12/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -c ../subprojects/opensea-common/src/unit_conversion.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/env_detect.h:20, - from ../subprojects/opensea-common/include/io_utils.h:20, - from ../subprojects/opensea-common/src/time_utils.c:18: + from ../subprojects/opensea-common/include/unit_conversion.h:18, + from ../subprojects/opensea-common/src/unit_conversion.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1632,7 +1290,10 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[22/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[13/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[14/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -c ../subprojects/opensea-common/src/validate_format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/src/validate_format.c:19: @@ -1832,11 +1493,11 @@ ../subprojects/opensea-common/src/validate_format.c:743:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ 743 | M_VALIDATE_FORMAT_RETURN_VAL(update_Format_Offset(format, offsetToSpecifier, &formatoffset, formatLength)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[23/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[15/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -c ../subprojects/opensea-common/src/posix_secure_file.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/secure_file.h:20, - from ../subprojects/opensea-common/src/secure_file.c:18: + from ../subprojects/opensea-common/src/posix_secure_file.c:23: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ @@ -1915,6 +1576,36 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ + 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:36:1: note: in expansion of macro ‘M_NODISCARD’ + 36 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:72:1: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/posix_secure_file.c:108:1: note: in expansion of macro ‘M_NODISCARD’ + 108 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) + | ^~~~~~~~~~~ +[16/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/env_detect.h:20, + from ../subprojects/opensea-common/include/io_utils.h:20, + from ../subprojects/opensea-common/src/time_utils.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -2047,222 +1738,89 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ - 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ - 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ - 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ - 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ - 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ - 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ - 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ - 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ - 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/secure_file.h:19: -../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[24/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[17/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/secure_file.h:20, + from ../subprojects/opensea-common/src/secure_file.c:18: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -[25/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -2398,56 +1956,120 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ + 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: +../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ + 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ + 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ + 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ + 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ + 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ + 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ + 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ + 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/secure_file.h:19: +../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 250 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[18/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -c ../subprojects/opensea-transport/src/asmedia_nvme_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:20: +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:145:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 145 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/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/jmicron_nvme_helper.c: In function ‘jm_NVMe_Normal_Shutdown’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 345 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:347:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 347 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:556:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 556 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:598:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 598 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_MCU_Reset’: +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:362:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 362 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:615:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/jmicron_nvme_helper.c:364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:632:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 632 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[26/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[19/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -c ../subprojects/opensea-common/src/string_utils.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[20/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -c ../subprojects/opensea-common/src/posix_env_detect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -2725,104 +2347,11 @@ ../subprojects/opensea-common/src/posix_env_detect.c:714:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 714 | DECLARE_ZERO_INIT_ARRAY(uint16_t, list, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -[27/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 99 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[28/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[29/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[30/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[31/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[21/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sata_helper_func.c:17: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/src/io_utils.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -2958,20 +2487,202 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); +../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ + 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 711 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 723 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -[32/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/src/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ + 1283 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ + 1350 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ + 1417 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ + 1439 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ + 1461 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ + 1483 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long long* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ + 1551 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ + 1618 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ + 1646 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, char** unit, eAllowedUnitInput unittype, short* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ + 1674 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, char** unit, eAllowedUnitInput unittype, char* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ + 1702 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ + 1738 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ + 1784 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ + 1830 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ + 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ + 1882 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ + 1904 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ + 1928 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ + 1952 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int64_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ + 2006 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int32_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ + 2037 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int16_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ + 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/env_detect.h:21: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/io_utils.c:2365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2365 | DECLARE_ZERO_INIT_ARRAY(char, lineBuff, LINE_BUF_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[22/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] +[23/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 73 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[24/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -c ../subprojects/opensea-transport/src/ciss_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/usb_hacks.c:17: + from ../subprojects/opensea-transport/src/ciss_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3116,19 +2827,85 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/usb_hacks.c:16: -../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ + 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/usb_hacks.c:46:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 46 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[33/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-transport/src/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1909:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1909 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[25/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ciss_helper.c:18: +In file included from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[26/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/env_detect.h:20, + from ../subprojects/opensea-common/include/string_utils.h:19, + from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3273,74 +3050,45 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ - 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +[27/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] +[28/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1909:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1909 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[34/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[29/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/env_detect.h:20, - from ../subprojects/opensea-common/include/string_utils.h:19, - from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3485,11 +3233,119 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[35/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +In file included from ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:19: +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘send_JM_NVMe_Cmd’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 250 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmCDB, JMICRON_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_Normal_Shutdown’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 345 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:347:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 347 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c: In function ‘jm_NVMe_MCU_Reset’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:362:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 362 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, JMICRON_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/jmicron_nvme_helper.c:364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[30/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/env_detect.h:20, - from ../subprojects/opensea-common/src/io_utils.c:18: +In file included from ../subprojects/opensea-transport/src/cmds.c:16: +../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 682 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 801 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[31/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 99 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[32/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3625,168 +3481,212 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ - 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); | ^~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 711 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 723 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ - 1283 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +[33/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[34/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/precision_timer.h:20, + from ../subprojects/opensea-transport/src/nvme_cmds.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ - 1350 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ - 1417 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ - 1439 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ - 1461 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ - 1483 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long long* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ - 1551 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ - 1618 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ - 1646 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, char** unit, eAllowedUnitInput unittype, short* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ - 1674 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, char** unit, eAllowedUnitInput unittype, char* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ - 1702 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ - 1738 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float* outputFloat) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ - 1784 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double* outputFloat) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ - 1830 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double* outputFloat) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ - 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) - | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ - 1882 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ - 1904 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ - 1928 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ - 1952 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int64_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ - 2006 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int32_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ - 2037 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int16_t* outputInteger) - | ^~~~~~~~~~~ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ - 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/env_detect.h:21: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/io_utils.c:2365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2365 | DECLARE_ZERO_INIT_ARRAY(char, lineBuff, LINE_BUF_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[36/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +[35/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/nvme_cmds.c:17: + from ../subprojects/opensea-transport/src/sata_helper_func.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3931,7 +3831,7 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[37/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[36/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -4094,43 +3994,11 @@ ../subprojects/opensea-transport/src/nvme_helper.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 578 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[38/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/cmds.c:16: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 801 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[39/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[37/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/buffer_test.c:17: + from ../subprojects/opensea-transport/src/ata_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4275,26 +4143,37 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/buffer_test.c:16: -../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: +In file included from ../subprojects/opensea-transport/src/ata_helper.c:13: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: +../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); +../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ -[40/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[38/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: +../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[39/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -c ../subprojects/opensea-transport/src/usb_hacks.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/host_erase.c:17: + from ../subprojects/opensea-transport/src/usb_hacks.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4439,6 +4318,153 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/usb_hacks.c:16: +../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/usb_hacks.c:46:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 46 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[40/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/common_public.c:15: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1200:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1200 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1204:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1204 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1208:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1208 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/common_public.c:14: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1220:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1220 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1303:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1305:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1305 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1939:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1939 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘calculate_Checksum’: +../subprojects/opensea-transport/src/common_public.c:2871:41: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2871 | printf("%s: blksize %d, pBuf %p\n", __FUNCTION__, blockSize, C_CAST(void*, pBuf)); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c:2880:32: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2880 | printf("%s: counter %d\n", __FUNCTION__, counter); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: +../subprojects/opensea-transport/src/common_public.c:3362:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 3362 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, C_CAST(long int, __LINE__)); + | ^~~~~~~~~~~~ [41/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 @@ -4634,11 +4660,11 @@ ../subprojects/opensea-operations/src/ata_Security.c:1209:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1209 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[42/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[42/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/depopulate.c:17: + from ../subprojects/opensea-transport/src/ata_cmds.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4783,116 +4809,60 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/depopulate.c:16: -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 254 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 718 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 935 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1025 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[43/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:581:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 581 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:587:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 587 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:613:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 613 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:619:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 619 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:625:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 625 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:631:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 631 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:637:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 637 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/ata_cmds.c:643:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 643 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +[43/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/firmware_download.c:17: + from ../subprojects/opensea-operations/src/buffer_test.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5037,116 +5007,386 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/buffer_test.c:16: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[44/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/csmi_helper.c:32: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/precision_timer.h:19: +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:1170:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1170 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c:1171:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1171 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-transport/src/csmi_helper.c:1172:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1172 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/csmi_helper.c:3322:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3322 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, tDevice *device, uint8_t controllerNumber, uint8_t hostController, uint8_t pathidBus, uint8_t targetID, uint8_t lun) + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[44/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c +../subprojects/opensea-transport/src/csmi_helper.c:3524:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3524 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3545 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3546:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3546 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3547:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3547 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3567:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3567 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3568:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3590:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3590 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:3591:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3591 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4416 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4681:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4681 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4722:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4723:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:4845:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4845 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5068:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5068 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5224:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5224 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5225:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5225 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5265:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5286:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5286 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5287:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5287 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5288:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5288 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5315:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5315 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5316:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5316 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5317:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5317 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5342:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5343:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5343 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5365:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5365 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5366:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5366 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5367:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5367 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, 41); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5503:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5503 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/csmi_helper.c: In function ‘send_STP_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/csmi_helper.c:5663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[45/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -c ../subprojects/opensea-transport/src/scsi_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ata_helper.c:14: + from ../subprojects/opensea-transport/src/scsi_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5291,26 +5531,82 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/ata_helper.c:13: -../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1528:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1528 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1605:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1605 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/scsi_helper.c:13: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/scsi_helper.c:2260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2260 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[45/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c +../subprojects/opensea-transport/src/scsi_helper.c:2261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2261 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2262 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2457 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2617:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2617 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1);//making bigger than needed for now. + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2630:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2630 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2631:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2631 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:3036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:3308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, REPORT_LUNS_MIN_LENGTH);//only really need first 4 bytes, but this will make sure we get the length, hopefully without error + | ^~~~~~~~~~~~~~~~~~~~~~~ +[46/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sanitize.c:17: + from ../subprojects/opensea-operations/src/depopulate.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5455,45 +5751,116 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/sanitize.c:16: -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: +In file included from ../subprojects/opensea-operations/src/depopulate.c:16: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:152:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 152 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Supported_Features’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:324:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommands, 14); +../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/sanitize.c:336:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 336 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -[46/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 254 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 718 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 935 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1025 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[47/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/nvme_operations.c:15: + from ../subprojects/opensea-transport/src/scsi_cmds.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5638,70 +6005,635 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/nvme_operations.c:80:104: note: in expansion of macro ‘M_ATTR_UNUSED’ - 80 | eReturnValues nvme_Print_All_Feature_Identifiers(tDevice *device, eNvmeFeaturesSelectValue selectType, M_ATTR_UNUSED bool listOnlySupportedFeatures) - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/nvme_operations.c:14: -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: +In file included from ../subprojects/opensea-transport/src/scsi_cmds.c:16: +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘private_SCSI_Send_CDB’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:94:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 94 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: +../subprojects/opensea-transport/src/scsi_cmds.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:417:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 417 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); +../subprojects/opensea-transport/src/scsi_cmds.c:223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 223 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:432:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 432 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c:266:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 266 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:433:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 433 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c:357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 357 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:453:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 453 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: +../subprojects/opensea-transport/src/scsi_cmds.c:456:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 456 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:531:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 531 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_cmds.c:494:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 494 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:568:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: +../subprojects/opensea-transport/src/scsi_cmds.c:595:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 595 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/nvme_operations.c:682:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); +../subprojects/opensea-transport/src/scsi_cmds.c:639:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 639 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 672 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 700 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:733:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 733 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:828:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 828 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 940 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:984:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 984 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1033:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1033 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1077:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1077 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1229:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1229 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1269:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1269 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1357 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1405:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1405 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1442:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1442 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1482:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1482 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1522:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1522 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1562:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1562 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1602:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1602 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1642:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1642 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1685:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1685 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1727:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1727 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1772:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1772 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1811:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1811 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1850:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1850 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1889:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1889 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1928 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:1959:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1959 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2005:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2005 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2056:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2056 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2107:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2107 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2143 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2186:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2186 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2237 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2304:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2304 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2337 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2376:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2376 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2402:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2402 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2434:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2434 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2483:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2483 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2534 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2589:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2589 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2660:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2660 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2705:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2705 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2752:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2752 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2796:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2796 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2846:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2846 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2885 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2931:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2931 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:2972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2972 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3005:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3005 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3044:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3044 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3084:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3084 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3128 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3174:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3174 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3224 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3290 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3322:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3322 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3367 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3414:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3414 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3465:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3465 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3532:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3532 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3574 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3618:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3618 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3666:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3666 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3730 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3778:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3778 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3833:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3833 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3886:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3886 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:3957:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3957 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4250 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); | ^~~~~~~~~~~~~~~~~~~~~~~ -[47/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c +../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_xp_Write_32’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4296:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4296 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4364 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4482:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4482 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4547:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4547 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4634:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4634 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4677:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4677 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4725 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4773:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4773 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4819:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4819 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4858 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_cmds.c:4898:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4898 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[48/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sas_phy.c:17: + from ../subprojects/opensea-transport/src/sg_helper.c:27: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -5834,41 +6766,228 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ + 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/sg_helper.c:26: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:309:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 309 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/sas_phy.c:16: -../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: +../subprojects/opensea-transport/src/sg_helper.c:361:1: note: in expansion of macro ‘M_NODISCARD’ + 361 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, uint32_t *versionlist, uint8_t versionlistlen, uint8_t *versionCount) + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); +../subprojects/opensea-transport/src/sg_helper.c:490:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 490 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:559:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 559 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); +../subprojects/opensea-transport/src/sg_helper.c:643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 643 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); +../subprojects/opensea-transport/src/sg_helper.c:730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:795:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 795 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 926 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:999:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 999 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1043:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1043 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1187 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1218:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1218 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1227:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1227 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1275:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1275 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: +../subprojects/opensea-transport/src/sg_helper.c:1582:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1582 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: +../subprojects/opensea-transport/src/sg_helper.c:1833:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1833 | printf("%s Didn't understand direction\n", __FUNCTION__); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:2345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2345 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); //Because get device needs char + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_Reset’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:2907:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2907 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:3046:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3046 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -[48/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-transport/src/sg_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3106:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3106:54: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3106:82: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3106:118: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3106:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3111:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3111:55: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3111:83: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3111:119: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3111:151: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3116:25: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3116:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3116:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3121:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3121 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice *device) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[49/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -6148,7 +7267,7 @@ ../subprojects/opensea-operations/src/defect.c:1059:184: note: in expansion of macro ‘M_ATTR_UNUSED’ 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) | ^~~~~~~~~~~~~ -[49/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[50/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -6515,11 +7634,11 @@ ../subprojects/opensea-operations/src/dst.c:2180:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2180 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[51/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/format.c:17: + from ../subprojects/opensea-operations/src/firmware_download.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -6742,67 +7861,38 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/format.c:16: -../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 780 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: +In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 831 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: +../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: +../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); +../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[51/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c +../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[52/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sector_repair.c:16: + from ../subprojects/opensea-operations/src/host_erase.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -6947,19 +8037,11 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/sector_repair.c:15: -../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sector_repair.c:456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, MP_READ_WRITE_ERROR_RECOVERY_LEN + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[52/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[53/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sg_helper.c:27: + from ../subprojects/opensea-operations/src/format.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7092,232 +8174,157 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ - 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/sg_helper.c:26: -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:309:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 309 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-transport/src/sg_helper.c:361:1: note: in expansion of macro ‘M_NODISCARD’ - 361 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, uint32_t *versionlist, uint8_t versionlistlen, uint8_t *versionCount) - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:490:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 490 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:559:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 559 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 643 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_Info’: +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/format.c:16: +../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); +../subprojects/opensea-operations/src/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_Info’: +../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:795:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 795 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); +../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_Info’: +../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 926 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_Info’: +../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:999:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 999 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 780 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1043:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1043 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: +../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 831 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1187:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1187 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); +../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1218:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1218 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); +../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1227:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1227 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1275:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1275 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: -../subprojects/opensea-transport/src/sg_helper.c:1582:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1582 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: -../subprojects/opensea-transport/src/sg_helper.c:1833:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1833 | printf("%s Didn't understand direction\n", __FUNCTION__); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_List’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:2345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2345 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); //Because get device needs char - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_Reset’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:2907:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2907 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3046:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3046 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3106:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3106:54: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3106:82: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3106:118: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3106:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3106 | eReturnValues os_Read(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3111:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3111:55: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3111:83: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3111:119: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3111:151: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3111 | eReturnValues os_Write(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED bool forceUnitAccess, M_ATTR_UNUSED uint8_t *ptrData, M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3116:25: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3116:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3116:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3116 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice *device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3121:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3121 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice *device) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -[53/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[54/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -c ../subprojects/opensea-operations/src/nvme_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/set_max_lba.c:17: + from ../subprojects/opensea-operations/src/nvme_operations.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7462,117 +8469,70 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/set_max_lba.c:16: -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘scsi_Set_Max_LBA_2’: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/nvme_operations.c:80:104: note: in expansion of macro ‘M_ATTR_UNUSED’ + 80 | eReturnValues nvme_Print_All_Feature_Identifiers(tDevice *device, eNvmeFeaturesSelectValue selectType, M_ATTR_UNUSED bool listOnlySupportedFeatures) + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/nvme_operations.c:14: +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_All_Feature_Identifiers’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap10Data, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c:94:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 94 | DECLARE_ZERO_INIT_ARRAY(uint8_t, featData, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_HMB_Feature_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:129:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap16Data, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: +../subprojects/opensea-operations/src/nvme_operations.c:417:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 417 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hmbData, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:497:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 497 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-operations/src/nvme_operations.c:432:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 432 | DECLARE_ZERO_INIT_ARRAY(char, hmbRecUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/set_max_lba.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/nvme_operations.c:433:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 433 | DECLARE_ZERO_INIT_ARRAY(char, hmbMinUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:453:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 453 | DECLARE_ZERO_INIT_ARRAY(char, hmbAllocedUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Get_Log_Size’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:531:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 531 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPageHeader, UINT32_C(16)); | ^~~~~~~~~~~~~~~~~~~~~~~ -[54/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:568:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, telemetryHeader, UINT32_C(512)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/nvme_operations.c: In function ‘nvme_Print_FWSLOTS_Log_Page’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/nvme_operations.c:682:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 682 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[55/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/trim_unmap.c:16: + from ../subprojects/opensea-operations/src/sanitize.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7717,26 +8677,45 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/trim_unmap.c:15: -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/sanitize.c:16: +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:34:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: +../subprojects/opensea-operations/src/sanitize.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. +../subprojects/opensea-operations/src/sanitize.c:152:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 152 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Supported_Features’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:324:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommands, 14); | ^~~~~~~~~~~~~~~~~~~~~~~ -[55/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/sanitize.c:336:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 336 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +[56/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ata_cmds.c:17: + from ../subprojects/opensea-operations/src/sas_phy.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7881,62 +8860,33 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:581:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 581 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:587:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 587 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:613:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 613 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:619:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 619 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:625:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 625 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:631:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 631 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:637:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 637 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:643:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 643 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -[56/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[57/148] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -[58/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +In file included from ../subprojects/opensea-operations/src/sas_phy.c:16: +../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:31:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 31 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedDiagnosticPages, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[57/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -c ../subprojects/opensea-operations/src/operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/zoned_operations.c:15: + from ../subprojects/opensea-operations/src/operations.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8081,45 +9031,210 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/zoned_operations.c:14: -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/operations.c:16: +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/operations.c:468:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 468 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: +../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:145:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 145 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); +../subprojects/opensea-operations/src/operations.c:704:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 704 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:169:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 169 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); +../subprojects/opensea-operations/src/operations.c:720:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 720 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:797:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 797 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:204:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 204 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); +../subprojects/opensea-operations/src/operations.c:825:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 825 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: +../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 252 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); +../subprojects/opensea-operations/src/operations.c:1081:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1081 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1163:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1163 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); | ^~~~~~~~~~~~~~~~~~~~~~~ -[59/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1181:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2234:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2234 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘reset_Specific_Log_Page_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2532:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2532 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_MLU_Value_For_SCSI_Operation’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2546:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2546 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOp, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2794:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2794 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2795:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2795 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[58/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/reservations.c:19: + from ../subprojects/opensea-operations/src/generic_tests.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8264,31 +9379,305 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/reservations.c:18: -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:131:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 131 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:573:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 573 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:581:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1474:189: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1474:233: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +[59/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/reservations.c:19: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/reservations.c:18: +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:131:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 131 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:573:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 573 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:581:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ ../subprojects/opensea-operations/src/reservations.c:688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -8409,150 +9798,11 @@ ../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[60/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[60/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/common_public.c:15: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1200:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1200 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1204:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1204 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1208:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1208 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/common_public.c:14: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1220:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1220 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1303:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1305:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1305 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1939:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1939 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘calculate_Checksum’: -../subprojects/opensea-transport/src/common_public.c:2871:41: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2871 | printf("%s: blksize %d, pBuf %p\n", __FUNCTION__, blockSize, C_CAST(void*, pBuf)); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c:2880:32: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2880 | printf("%s: counter %d\n", __FUNCTION__, counter); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: -../subprojects/opensea-transport/src/common_public.c:3362:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 3362 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, C_CAST(long int, __LINE__)); - | ^~~~~~~~~~~~ -[61/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/writesame.c:17: + from ../subprojects/opensea-operations/src/power_control.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -8697,181 +9947,148 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/writesame.c:32:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 32 | bool is_Write_Same_Supported(tDevice *device, M_ATTR_UNUSED uint64_t startingLBA, uint64_t requesedNumberOfLogicalBlocks, uint64_t *maxNumberOfLogicalBlocksPerCommand) - | ^~~~~~~~~~~~~ -[62/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -c ../subprojects/opensea-operations/src/ata_device_config_overlay.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:16: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: +In file included from ../subprojects/opensea-operations/src/power_control.c:16: +../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:100:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 100 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/power_control.c:616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 616 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:674:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 674 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/power_control.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 675 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[63/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:676:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 676 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:677:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 677 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:678:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 678 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:1635:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1635 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[61/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/sata_phy.c:17: + from ../subprojects/opensea-operations/src/sector_repair.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9016,26 +10233,19 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/sata_phy.c:16: -../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:44:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 44 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +In file included from ../subprojects/opensea-operations/src/sector_repair.c:15: +../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 135 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[64/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/sector_repair.c:456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, MP_READ_WRITE_ERROR_RECOVERY_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[62/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -c ../subprojects/opensea-operations/src/set_max_lba.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/generic_tests.c:17: + from ../subprojects/opensea-operations/src/set_max_lba.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9180,496 +10390,117 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1474:189: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1474:233: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -[65/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/csmi_helper.c:32: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/precision_timer.h:19: -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘print_CSMI_RAID_Config’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1170:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1170 | DECLARE_ZERO_INIT_ARRAY(char, model, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1171:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1171 | DECLARE_ZERO_INIT_ARRAY(char, firmware, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:1172:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1172 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/csmi_helper.c:3322:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3322 | eReturnValues jbod_Setup_CSMI_Info(M_ATTR_UNUSED CSMI_HANDLE deviceHandle, tDevice *device, uint8_t controllerNumber, uint8_t hostController, uint8_t pathidBus, uint8_t targetID, uint8_t lun) - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘jbod_Setup_CSMI_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3524:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3524 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3545 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3546:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3546 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3547:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3547 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3567:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3567 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3568:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3568 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3590:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3590 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:3591:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3591 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4416 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4681:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4681 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4722:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4722 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4723:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘get_CSMI_RAID_Device_List’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:4845:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4845 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CSMI_NIX_MAX_DEVICE_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5068:49: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5068 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5224:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5224 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevModel, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5225:73: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5225 | DECLARE_ZERO_INIT_ARRAY(char, csmiRaidDevSerial, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5265:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5286:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5286 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5287:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5287 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5288:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5288 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5315:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5315 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5316:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5316 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5317:85: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5317 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5342:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inqData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5343:77: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5343 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5365:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5365 | DECLARE_ZERO_INIT_ARRAY(char, inqVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/set_max_lba.c:16: +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘scsi_Set_Max_LBA_2’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5366:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5366 | DECLARE_ZERO_INIT_ARRAY(char, inqProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap10Data, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5367:81: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5367 | DECLARE_ZERO_INIT_ARRAY(char, vidCatPid, 41); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c:129:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCap16Data, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Max_LBA_In_Sync_With_Adapter_Or_Driver’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5503:45: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5503 | DECLARE_ZERO_INIT_ARRAY(char, handle, RAID_HANDLE_STRING_MAX_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/csmi_helper.c: In function ‘send_STP_Passthrough_Command’: +../subprojects/opensea-operations/src/set_max_lba.c:497:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 497 | DECLARE_ZERO_INIT_ARRAY(uint8_t, satVPDPage89, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/set_max_lba.c: In function ‘is_Change_Identify_String_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_helper.c:5663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[66/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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-operations/src/set_max_lba.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[63/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/operations.c:17: + from ../subprojects/opensea-operations/src/trim_unmap.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9814,210 +10645,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/operations.c:16: -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:468:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 468 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:704:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 704 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:720:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 720 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:797:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 797 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:825:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 825 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1081:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1081 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1163:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1163 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1181:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1181 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2234:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2234 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2460:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2460 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘reset_Specific_Log_Page_Supported’: +In file included from ../subprojects/opensea-operations/src/trim_unmap.c:15: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportData, 14); +../subprojects/opensea-operations/src/trim_unmap.c:34:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2532:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2532 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); +../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_MLU_Value_For_SCSI_Operation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2546:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2546 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOp, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2794:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2794 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2795:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2795 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[64/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/scsi_helper.c:14: + from ../subprojects/opensea-operations/src/writesame.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -10162,88 +10809,17 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1528:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1528 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1605:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1605 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/scsi_helper.c:13: -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2260 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2261 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2262 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2457 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2617:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2617 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1);//making bigger than needed for now. - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2630:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2630 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2631:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2631 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, REPORT_LUNS_MIN_LENGTH);//only really need first 4 bytes, but this will make sure we get the length, hopefully without error - | ^~~~~~~~~~~~~~~~~~~~~~~ -[68/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[69/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[70/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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-operations/src/writesame.c:32:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 32 | bool is_Write_Same_Supported(tDevice *device, M_ATTR_UNUSED uint64_t startingLBA, uint64_t requesedNumberOfLogicalBlocks, uint64_t *maxNumberOfLogicalBlocksPerCommand) + | ^~~~~~~~~~~~~ +[65/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/scsi_cmds.c:17: + from ../subprojects/opensea-transport/src/sntl_helper.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -10388,638 +10964,590 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/scsi_cmds.c:16: -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘private_SCSI_Send_CDB’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:128:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 223 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:266:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 266 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 357 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Request_Sense_Cmd’: +In file included from ../subprojects/opensea-transport/src/sntl_helper.c:16: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Set_Sense_Data_For_Translation’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:456:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Sense_Cmd’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Generic_NVMe_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:494:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 494 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:338:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 338 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Log_Select_Cmd’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Command_Specific_NVMe_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:595:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 595 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Send_Diagnostic’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Media_Errors_NVMe_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:639:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 639 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_10’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Supported_VPD_Pages_00h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 672 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Capacity_16’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Unit_Serial_Number_VPD_Page_80h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 700 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:793:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, SNTL_UNIT_SERIAL_NUMBER_VPD_MAX_LENGTH);//44 is the max size of this page with the translation spec | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Mode_Sense_6’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:733:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 733 | 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-transport/src/sntl_helper.c:823:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 823 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:828:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 828 | 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-transport/src/sntl_helper.c:848:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 848 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 940 | 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-transport/src/sntl_helper.c:862:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 862 | DECLARE_ZERO_INIT_ARRAY(char, nsidString, NSID_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Extended_Inquiry_Data_VPD_Page_86h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:984:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 984 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:1409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Buffer’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Block_Limits_VPD_Page_B0h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1033:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1033 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:1490:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Inquiry’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Block_Device_Characteristics_VPD_Page_B1h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1077:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1077 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:1574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Media_Serial_Number’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1229:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1229 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Attribute’: +../subprojects/opensea-transport/src/sntl_helper.c:1600:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1600 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Logical_Block_Provisioning_VPD_Page_B2h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1269:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1269 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:1643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1643 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Inquiry_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:1708:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1708 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Buffer_16’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1357 | 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-transport/src/sntl_helper.c:1770:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1405:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1405 | 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-transport/src/sntl_helper.c:1821:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1821 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1442:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1442 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Aliases’: +../subprojects/opensea-transport/src/sntl_helper.c:1825:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1825 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1482:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1482 | 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-transport/src/sntl_helper.c:1840:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1840 | DECLARE_ZERO_INIT_ARRAY(char, nvmSN, NVME_CTRL_IDENTIFY_SN_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Read_Capacity_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1522:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1522 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:1890:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1890 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Luns’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1562:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1562 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Priority’: +../subprojects/opensea-transport/src/sntl_helper.c:1964:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1964 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Supported_Log_Pages’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1602:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2032 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Supported_Task_Management_Functions’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Temperature_Log_0x0D’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1642:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1642 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2125:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Timestamp’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1685:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1685 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_SecurityProtocol_Out’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1727:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1727 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Identifying_Information’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Solid_State_Media_Log_0x11’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1772:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1772 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2215:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2215 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Priority’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1811:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1811 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2218:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2218 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Target_Port_Groups’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1850:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2219:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2219 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Set_Timestamp’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Informational_Exceptions_Log_Page_2F’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1889:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1889 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2279:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Test_Unit_Ready’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1928 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:2280:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2280 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Attribute’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Background_Scan_Results_Log_0x15’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:1959:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1959 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2337 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Compare_And_Write’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2005:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:2340:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2340 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_Unit’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2056:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2056 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:2341:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2341 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Format_With_Preset’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_General_Statistics_And_Performance_Log_0x19’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2107:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2107 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:2416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2416 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Get_Lba_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2419 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_16’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2186:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2186 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2420 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Orwrite_32’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Start_Stop_Cycle_Log_0x0E’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2237 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); +../subprojects/opensea-transport/src/sntl_helper.c:2569:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2569 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_10’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2304:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2304 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:2571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2571 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Prefetch_16’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2337 | 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-transport/src/sntl_helper.c:2609:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Self_Test_Results_Log_0x10’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2376:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2376 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:2688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_6’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2402:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2402 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:2690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_10’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2434:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2434 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:2712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmDSTLog, 564); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_12’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Log_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2483:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2483 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_16’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Mode_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2534:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2534 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:3813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3813 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_32’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2589:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2589 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); +../subprojects/opensea-transport/src/sntl_helper.c:3814:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3814 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_10’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2660:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:3816:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3816 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Defect_Data_12’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Mode_Select_Caching_08h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2705:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2705 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:4009:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4009 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_10’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Mode_Select_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2752:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2752 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:4127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Read_Long_16’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Synchronize_Cache_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2796:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2796 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:4523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Reassign_Blocks’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Read_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2846:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2846 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:4576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Report_Referrals’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:4779:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4779 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Start_Stop_Unit’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Verify_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2931:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2931 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:4983:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4983 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_10’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Security_Protocol_In_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:2972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2972 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:5182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Synchronize_Cache_16’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Security_Protocol_Out_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3005:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:5247:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5247 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Unmap’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Report_Luns_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3044:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3044 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:5307:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5307 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_10’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:5344:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5344 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Test_Unit_Ready_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3084:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3084 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:5445:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5445 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_12’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_16’: +../subprojects/opensea-transport/src/sntl_helper.c:5477:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5477 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Long’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3174:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3174 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:5510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Verify_32’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Send_Diagnostic_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3224 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); +../subprojects/opensea-transport/src/sntl_helper.c:5674:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5674 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_6’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Buffer_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3290 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); +../subprojects/opensea-transport/src/sntl_helper.c:5791:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5791 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_10’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:5892:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5892 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Start_Stop_Unit_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3322:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:6024:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6024 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_12’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Unmap_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); +../subprojects/opensea-transport/src/sntl_helper.c:6265:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_16’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Request_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3414:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3414 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:6449:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6449 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_32’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3465:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3465 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_32); +../subprojects/opensea-transport/src/sntl_helper.c:6451:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6451 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_10’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3532:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3532 | 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-transport/src/sntl_helper.c:6485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3574 | 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-transport/src/sntl_helper.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_In’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3618:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3618 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:6576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_And_Verify_32’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3666:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3666 | 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-transport/src/sntl_helper.c:6616:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6616 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReportKeys, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3730:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3730 | 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-transport/src/sntl_helper.c:6662:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6662 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3778:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3778 | 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-transport/src/sntl_helper.c:6827:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_Out’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3833:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3833 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); +../subprojects/opensea-transport/src/sntl_helper.c:6948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Write_Same_16’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3886:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3886 | 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-transport/src/sntl_helper.c:7029:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7029 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:3957:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3957 | 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-transport/src/sntl_helper.c:7099:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7099 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4250 | 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-transport/src/sntl_helper.c:7193:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7193 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4296:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4296 | 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-transport/src/sntl_helper.c:7275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Sanitize_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:7357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7357 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Zone_Management_In_Report’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4482:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4482 | 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-transport/src/sntl_helper.c:7474:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4547:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4547 | 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-transport/src/sntl_helper.c:7538:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7538 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4634:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4634 | 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-transport/src/sntl_helper.c:7602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4677:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4677 | 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-transport/src/sntl_helper.c:7664:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7664 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Check_Operation_Code_and_Service_Action’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:8544:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 8544 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sntl_helper.c:8551:17: note: in expansion of macro ‘M_FALLTHROUGH’ + 8551 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Report_Supported_Operation_Codes_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4725 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/sntl_helper.c:9756:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9756 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Restore_Elements_And_Rebuild’: +../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4773:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4773 | 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-transport/src/sntl_helper.c:9877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4819:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4819 | 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-transport/src/sntl_helper.c:9888:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9888 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4858 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_cmds.c: In function ‘scsi_Rezero_Unit’: +../subprojects/opensea-transport/src/sntl_helper.c:10125:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_cmds.c:4898:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4898 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[71/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/sntl_helper.c:10132:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[66/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -c ../subprojects/opensea-operations/src/zoned_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/farm_log.c:17: + from ../subprojects/opensea-operations/src/zoned_operations.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -11164,176 +11692,45 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/farm_log.c:16: -../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:87:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 87 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:943:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:944:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 944 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:945:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 945 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:947:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 947 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:949:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 949 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/zoned_operations.c:14: +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 968 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); +../subprojects/opensea-operations/src/zoned_operations.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 981 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:145:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 145 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:997:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 997 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:169:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 169 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1002:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1002 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:204:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 204 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1007:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1007 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); +../subprojects/opensea-operations/src/zoned_operations.c:252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 252 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[73/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[67/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -c ../subprojects/opensea-operations/src/logs.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/power_control.c:17: + from ../subprojects/opensea-operations/src/logs.c:14: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -11556,233 +11953,149 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/power_control.c:16: -../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: +In file included from ../subprojects/opensea-operations/src/logs.c:13: +../subprojects/opensea-operations/src/logs.c: In function ‘generate_Log_Name’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:616:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 616 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); +../subprojects/opensea-operations/src/logs.c:48:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 48 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: +../subprojects/opensea-operations/src/logs.c: In function ‘is_SCSI_Read_Buffer_16_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:674:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 674 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:974:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 974 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportSupportedOperationCode, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2120:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2120 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2127:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2127 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2129:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2129 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2129:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2129 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2417:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2417 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2424:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2424 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2431:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2431 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2433:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2433 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2433:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2433 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2671:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2671 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2678:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2678 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2680:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2680 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2680:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] + 2680 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:675:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 675 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2880 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:676:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 676 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:2937:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2937 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:677:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 677 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3459 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:678:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 678 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); +../subprojects/opensea-operations/src/logs.c:3569:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3569 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:1635:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1635 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); +../subprojects/opensea-operations/src/logs.c:3600:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3600 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); +../subprojects/opensea-operations/src/logs.c:3723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3723 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); +../subprojects/opensea-operations/src/logs.c:3760:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3760 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[74/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[75/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/partition_info.c:21: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/partition_info.c:20: -../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/partition_info.c:446:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 446 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: +../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:579:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 579 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[76/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c +../subprojects/opensea-operations/src/logs.c:3804:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3804 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[68/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -12088,17 +12401,13 @@ ../subprojects/opensea-operations/src/seagate_operations.c:2877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); | ^~~~~~~~~~~~~~~~~~~~~~~ -[77/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[78/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[79/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[69/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[70/148] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o +[71/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/logs.c:14: + from ../subprojects/opensea-operations/src/sata_phy.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -12243,240 +12552,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/logs.c:13: -../subprojects/opensea-operations/src/logs.c: In function ‘generate_Log_Name’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:48:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 48 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘is_SCSI_Read_Buffer_16_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:974:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 974 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportSupportedOperationCode, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2120:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2120 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2127:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2127 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2129:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2129 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2129:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2129 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2417:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2417 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2424:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2424 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2431:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2431 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2433:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2433 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2433:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2433 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2671:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2671 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2678:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2678 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2680:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2680 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c:2680:34: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] - 2680 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:2880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2880 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:2937:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2937 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3459 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: +In file included from ../subprojects/opensea-operations/src/sata_phy.c:16: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3569:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3569 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); +../subprojects/opensea-operations/src/sata_phy.c:44:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 44 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3600:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3600 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3723:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3723 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3760:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3760 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3804:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3804 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[80/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[81/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_EULA.c.o -MF openSeaChest_Info.p/src_EULA.c.o.d -o openSeaChest_Info.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[82/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_EULA.c.o -MF openSeaChest_Logs.p/src_EULA.c.o.d -o openSeaChest_Logs.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[83/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/sata_phy.c:135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 135 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[72/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -12621,133 +12716,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: -../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c:100:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 100 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[84/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-operations/src/ata_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[73/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/farm_log.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -12970,82 +12958,101 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: -../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: +In file included from ../subprojects/opensea-operations/src/farm_log.c:16: +../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ +../subprojects/opensea-operations/src/farm_log.c:87:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 87 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 107 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:943:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 113 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:944:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 944 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 114 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:945:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 945 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 115 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:946:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 116 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:947:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 947 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 117 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ +../subprojects/opensea-operations/src/farm_log.c:948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 118 | CHILD_NEW_FW_MATCH_VARS +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:949:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 949 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[85/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:968:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 968 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 981 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:997:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 997 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1002:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1002 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1007:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1007 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[74/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Info.c:20: +[75/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/partition_info.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13190,136 +13197,29 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: -../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 82 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 83 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/partition_info.c:20: +../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 84 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c:446:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 446 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 85 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[86/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-operations/src/partition_info.c:579:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 579 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[76/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[87/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[77/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:20: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/drive_info.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13542,55 +13442,304 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: +In file included from ../subprojects/opensea-operations/src/drive_info.c:14: +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ +../subprojects/opensea-operations/src/drive_info.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 692 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:1223:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1223 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:1612:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1612 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:2620:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2620 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:2901:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2901 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3083:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3083 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3465:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3465 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:3469:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3469 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4363:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, listOfModePagesAndSubpages, 512);//allow 10 entries in the list...update the loop condition below if this is adjusted + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4461:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecovery, 12 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4628:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4628 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4671:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingPage, 20 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4765:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4765 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlPage, MP_CONTROL_LEN + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4815:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4815 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlExtensionPage, MP_CONTROL_EXTENSION_LEN + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4921:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4921 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ioAdviceHints, 1040 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:4977:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4977 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pataControl, 8 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5017:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5017 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5053:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5053 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5185:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5185 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5286:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5286 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5398:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5398 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditions, 40 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5552:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5552 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditions, 16 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 12 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5632:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5632 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:5646:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5646 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundControl, 16 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6464:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6464 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6515:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6515 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6583:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6583 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6803:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6803 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 78 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/drive_info.c:6933:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6933 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 79 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/drive_info.c:6949:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6949 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6950:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6950 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6959:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6959 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:6960:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6960 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7092:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7092 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7099:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7099 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7137:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7137 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7138:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7138 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7149:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7149 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7150:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7150 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7161:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7161 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7162:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7162 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7245:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7245 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 80 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/drive_info.c:7246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7246 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 81 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[88/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7870:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7870 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/drive_info.c:7883:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7883 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[78/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[79/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[80/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Defect.c:19: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13819,48 +13968,49 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: +../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[89/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../utils/C/openSeaChest/openSeaChest_Defect.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[81/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sntl_helper.c:17: + from ../subprojects/opensea-transport/src/sat_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -14005,586 +14155,843 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/sntl_helper.c:16: -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Set_Sense_Data_For_Translation’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Registers’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 723 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:771:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 771 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:781:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 781 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/sat_helper.c:14: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_For_Translation’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:112:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 112 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/sat_helper.c:1474:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Generic_NVMe_Status’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_By_RTFRs’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:338:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 338 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:1702:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1702 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, 12); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Command_Specific_NVMe_Status’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Information_VPD_Page_89h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:516:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 516 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:2168:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2168 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataInformation, 572); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘set_Sense_Data_By_Media_Errors_NVMe_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:633:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 633 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, SNTL_INFORMATION_SENSE_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2237 | DECLARE_ZERO_INIT_ARRAY(char, openseaVersionString, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Supported_VPD_Pages_00h’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Unit_Serial_Number_VPD_Page_80h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:751:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/sat_helper.c:2380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, 24); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Unit_Serial_Number_VPD_Page_80h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:793:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, SNTL_UNIT_SERIAL_NUMBER_VPD_MAX_LENGTH);//44 is the max size of this page with the translation spec +../subprojects/opensea-transport/src/sat_helper.c:2381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2381 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Device_Identification_VPD_Page_83h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:823:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 823 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:2418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, t10VendorIdDesignator, 72); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:848:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 848 | DECLARE_ZERO_INIT_ARRAY(char, shortString, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2419 | DECLARE_ZERO_INIT_ARRAY(char, ataModelNumber, ATA_IDENTIFY_MN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:862:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 862 | DECLARE_ZERO_INIT_ARRAY(char, nsidString, NSID_STRING_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2420 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, ATA_IDENTIFY_SN_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2431:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2431 | DECLARE_ZERO_INIT_ARRAY(char, scsiNameString, SAT_SCSI_NAME_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Extended_Inquiry_Data_VPD_Page_86h’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Device_Characteristics_VPD_Page_B1h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); +../subprojects/opensea-transport/src/sat_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Block_Limits_VPD_Page_B0h’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Power_Condition_VPD_Page_8Ah’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1490:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); +../subprojects/opensea-transport/src/sat_helper.c:2583:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, 1024);//currently, this log is only two pages long and we want to read both for the data we're filling in-TJE | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Block_Device_Characteristics_VPD_Page_B1h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1574:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1574 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); +../subprojects/opensea-transport/src/sat_helper.c:2587:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2587 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionPage, 18); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Logical_Block_Provisioning_VPD_Page_B2h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:2700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2700 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Limits_VPD_Page_B0h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1600:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1600 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Logical_Block_Provisioning_VPD_Page_B2h’: +../subprojects/opensea-transport/src/sat_helper.c:2747:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Page_Policy_VPD_Page_87h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1643:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1643 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); +../subprojects/opensea-transport/src/sat_helper.c:2857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2857 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modePagePolicy, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Inquiry_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Zoned_Block_Device_Characteristics_VPD_Page_B6h’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1708:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1708 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:2940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceInformation, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1770:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); +../subprojects/opensea-transport/src/sat_helper.c:2946:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceCharacteristics, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Extended_Inquiry_Data_VPD_Page_86h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3003:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3034:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_VPD_Pages_00h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3068:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Inquiry_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3151:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3151 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:3268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1821:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1821 | DECLARE_ZERO_INIT_ARRAY(char, nvmMN, NVME_CTRL_IDENTIFY_MN_LEN + 1); +../subprojects/opensea-transport/src/sat_helper.c:3273:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3273 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1825:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1825 | DECLARE_ZERO_INIT_ARRAY(char, nvmFW, NVME_CTRL_IDENTIFY_FW_LEN + 1); +../subprojects/opensea-transport/src/sat_helper.c:3274:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3274 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1840:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1840 | DECLARE_ZERO_INIT_ARRAY(char, nvmSN, NVME_CTRL_IDENTIFY_SN_LEN + 1); +../subprojects/opensea-transport/src/sat_helper.c:3275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3275 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Read_Capacity_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Capacity_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1890:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1890 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:3496:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3496 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:1964:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1964 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); +../subprojects/opensea-transport/src/sat_helper.c:3707:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Supported_Log_Pages’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_ATA_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2032:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2032 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now +../subprojects/opensea-transport/src/sat_helper.c:3777:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3777 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Temperature_Log_0x0D’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2125:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:3885:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, response, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../subprojects/opensea-transport/src/sat_helper.c:4064:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataReturnDescriptor, 15);//making this 1 byte larger than it needs to be. This is done so that the log index can be set for fixed format sense data. + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:4236:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Solid_State_Media_Log_0x11’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Same_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2215:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2215 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); +../subprojects/opensea-transport/src/sat_helper.c:4371:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4371 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2218:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2218 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../subprojects/opensea-transport/src/sat_helper.c:4466:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4466 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pattern, 4);//32bits set to zero + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Synchronize_Cache_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:4540:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Verify_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2219:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2219 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:4601:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4601 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Informational_Exceptions_Log_Page_2F’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_And_Verify_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2279:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); +../subprojects/opensea-transport/src/sat_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4709 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Format_Unit_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2280:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2280 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../subprojects/opensea-transport/src/sat_helper.c:4996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Background_Scan_Results_Log_0x15’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Test_Unit_Ready_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2337:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2337 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); +../subprojects/opensea-transport/src/sat_helper.c:5410:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5410 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Reassign_Blocks_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2340:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2340 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../subprojects/opensea-transport/src/sat_helper.c:5491:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5491 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_In_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2341:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2341 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:5591:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5591 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_General_Statistics_And_Performance_Log_0x19’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2416:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2416 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); +../subprojects/opensea-transport/src/sat_helper.c:5660:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInformation, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_Out_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:5941:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5941 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2419 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); +../subprojects/opensea-transport/src/sat_helper.c:6005:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityCommandBuffer, LEGACY_DRIVE_SEC_SIZE);//for use in ATA security commands that transfer data + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Long’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6204 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Sanitize_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2420 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:6381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6381 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Start_Stop_Cycle_Log_0x0E’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Buffer_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2569:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2569 | DECLARE_ZERO_INIT_ARRAY(uint8_t, startStopLog, 20); +../subprojects/opensea-transport/src/sat_helper.c:6663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2571 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:6679:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6679 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6734:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6734 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferDescriptor, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6760:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, gplDirectory, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:6789:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6789 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorHistoryData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Send_Diagnostic_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7034:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2609:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2609 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotMediaInfo, 512); +../subprojects/opensea-transport/src/sat_helper.c:7130:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Self_Test_Results_Log_0x10’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Luns_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2688:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); +../subprojects/opensea-transport/src/sat_helper.c:7223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7223 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLunsData, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:7224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7224 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Request_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmDSTLog, 564); +../subprojects/opensea-transport/src/sat_helper.c:7290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7290 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Log_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:2885:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:7293:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7293 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Mode_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:3813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3813 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, SNTL_DATA_BLOCK_DESCRIPTOR_MAX_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:7408:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7408 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Buffer_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:7463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7463 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7605:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 7605 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Start_Stop_Unit_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:3814:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3814 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); +../subprojects/opensea-transport/src/sat_helper.c:7724:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7724 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:3816:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3816 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:7725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7725 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Mode_Select_Caching_08h’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7893:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 7893 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:7968:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 7968 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_Log_Pages’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4009:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4009 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8342:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Mode_Select_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Informational_Exceptions_Log_Page_2F’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8430:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8430 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Synchronize_Cache_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4523:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4523 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Self_Test_Results_Log_0x10’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8503:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8503 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Read_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8505:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4779:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4779 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8529:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extSelfTestLog, LEGACY_DRIVE_SEC_SIZE);//2 sectors in size in case we need to read 2 pages of the log + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8741:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8741 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestLog, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Read_Error_Counters_Log_0x03’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:8924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readErrorCountersLog, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Verify_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:4983:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4983 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8926 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Security_Protocol_In_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:8932:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8932 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Security_Protocol_Out_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Temperature_Log_0x0D’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5247:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5247 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9016:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9016 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Report_Luns_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5307:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5307 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9019:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9019 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sntl_helper.c:5344:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5344 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Test_Unit_Ready_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5445:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5445 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9023:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Solid_State_Media_Log_0x11’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5477:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5477 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Long’: +../subprojects/opensea-transport/src/sat_helper.c:9110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Send_Diagnostic_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5674:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5674 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9116:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9116 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Write_Buffer_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Background_Scan_Results_Log_0x15’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:5791:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5791 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9176:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9176 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sntl_helper.c:5892:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5892 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Start_Stop_Unit_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6024:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6024 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Unmap_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6265:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6265 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Request_Sense_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_General_Statistics_And_Performance_Log_0x19’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6449:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6449 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/sat_helper.c:9251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6451:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6451 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9254 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6485:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6485 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:9260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9260 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Passthrough_Results_Log_Page_16’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_In’: +../subprojects/opensea-transport/src/sat_helper.c:9369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9369 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPassthroughResults, 274);//15 (number of results) * (14 + 4) (size of pass-through results descriptor and parameter header) + 4 (log header) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Sense_0x0F’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6576:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6576 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6616:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6616 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReportKeys, 4096);//I hope this is big enough...may need to redo this! +../subprojects/opensea-transport/src/sat_helper.c:9456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6662:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6662 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:9610:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Select_0x0F’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6827:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6827 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeReport, 4096);//I hope this is big enough...may need to redo this! - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_Persistent_Reserve_Out’: +../subprojects/opensea-transport/src/sat_helper.c:9924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:6948:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6948 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:9943:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE);//this memory should be all zeros, but doing a memset to be certain + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Select_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:10228:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10228 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Unmap_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7029:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7029 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:10325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Control_0Ah’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7099:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7099 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); +../subprojects/opensea-transport/src/sat_helper.c:10639:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10639 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Power_Condition_1A’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7193:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7193 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:11007:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11007 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditionsLog, 2 * LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Sense_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, buffer, 8); +../subprojects/opensea-transport/src/sat_helper.c:11690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11691:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11691 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11693:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11693 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/sat_helper.c:11838:13: note: in expansion of macro ‘M_FALLTHROUGH’ +11838 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Caching_08h’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:11950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +11950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Control_0Ah’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12083:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Power_Conditions_1A’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12190:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12190 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:12248:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12248 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcLog, LEGACY_DRIVE_SEC_SIZE * 2); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Sanitize_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_ATA_Power_Condition_1A_F1’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7357:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7357 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:12729:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12729 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Select_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7474:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:12798:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +12798 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_In_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7538:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7538 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:13238:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13238 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_Out_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:13380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Set_Timestamp_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:7664:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7664 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Check_Operation_Code_and_Service_Action’: +../subprojects/opensea-transport/src/sat_helper.c:13458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Timestamp_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13509:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStats, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13512:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13512 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Media_Serial_Number_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13578:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13579:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13579 | DECLARE_ZERO_INIT_ARRAY(uint8_t, mediaSerialNumberPage, 65); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sat_helper.c:13608:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +13608 | DECLARE_ZERO_INIT_ARRAY(char, ataMediaSN, 61); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘check_Operation_Code_and_Service_Action’: ../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 87 | #define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:8544:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 8544 | M_FALLTHROUGH; +../subprojects/opensea-transport/src/sat_helper.c:14631:17: note: in expansion of macro ‘M_FALLTHROUGH’ +14631 | M_FALLTHROUGH; | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:14631:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] +14631 | M_FALLTHROUGH; + | ^ ../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 87 | #define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-transport/src/sntl_helper.c:8551:17: note: in expansion of macro ‘M_FALLTHROUGH’ - 8551 | M_FALLTHROUGH; +../subprojects/opensea-transport/src/sat_helper.c:14633:17: note: in expansion of macro ‘M_FALLTHROUGH’ +14633 | M_FALLTHROUGH; | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Report_Supported_Operation_Codes_Command’: +../subprojects/opensea-transport/src/sat_helper.c:14633:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] +14633 | M_FALLTHROUGH; + | ^ +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Supported_Operation_Codes_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:9756:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9756 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:16275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sntl_helper.c: In function ‘sntl_Translate_SCSI_Command’: +../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:9877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); +../subprojects/opensea-transport/src/sat_helper.c:16401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:9888:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9888 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, NVME_IDENTIFY_DATA_LEN); +../subprojects/opensea-transport/src/sat_helper.c:16412:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16412 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:10125:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10125 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sat_helper.c:16716:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16716 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sntl_helper.c:10132:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[90/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-transport/src/sat_helper.c:16723:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +16723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[82/148] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o +[83/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -14854,7 +15261,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[91/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[84/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_openseachest_util_options.c.o -MF openSeaChest_Configure.p/src_openseachest_util_options.c.o.d -o openSeaChest_Configure.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -15124,7 +15531,13 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[92/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[85/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[86/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[87/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -15394,14 +15807,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[93/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[94/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c +[88/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -MF openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o.d -o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -c ../utils/C/openSeaChest/openSeaChest_Basics.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Format.c:20: + from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -15630,16 +16040,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Format.c:18: -../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: +../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 91 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15647,8 +16057,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 92 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15656,8 +16066,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 93 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -15665,26 +16075,1120 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 94 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ - 96 | PATTERN_VARS +../utils/C/openSeaChest/openSeaChest_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 112 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2155 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2156 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2212 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[89/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_openseachest_util_options.c.o -MF openSeaChest_Erase.p/src_openseachest_util_options.c.o.d -o openSeaChest_Erase.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ | ^~~~~~~~~~~~ -[95/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[90/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[96/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[91/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/smart.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/smart.c:16: +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1082:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1082 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1193:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1193 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1194 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1195:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1195 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1196:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1196 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1197:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1197 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1198 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1337:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1337 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2394:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2394 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2545 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2589:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2589 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2669:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2669 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2695 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3036:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3198:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, MP_INFORMATION_EXCEPTIONS_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3226:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3264:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3264 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pendingLog, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Grown_List_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3291:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3326:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, defectData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘sct_Get_Min_Recovery_Time_Limit’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3652:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3652 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Attribute_Autosave’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3919:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3919 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Auto_Offline’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3946:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3978:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3978 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Summary_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4384:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4384 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, ATA_LOG_PAGE_LEN_BYTES); //This log is only 1 page in spec + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Comprehensive_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4509:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Read_Write_Command_Info’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4834:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4834 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4850:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4850 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:4855:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 4855 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:4974:135: note: in expansion of macro ‘M_ATTR_UNUSED’ + 4974 | static void get_GPL_Log_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4978:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4978 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5114:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5114:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5119:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5119 | DECLARE_ZERO_INIT_ARRAY(char, subCommandName, DOWNLOAD_COMMAND_SUBCOMMAND_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Trusted_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5150:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5150 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:71: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:108: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:141: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5230:185: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5233 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5298:57: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5298:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5301:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5301 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, SMART_LOG_ADDRESS_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5463 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5545:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5545:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5557:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5557 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5624:59: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5624:145: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5653:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5653 | static void get_Set_Max_Address_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:71: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:108: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:157: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5711:185: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5714:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5714 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5777:64: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5777:150: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5856:60: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5856:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5875:137: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5875 | static void get_Zeros_Ext_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5894:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5894 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5921:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5921 | DECLARE_ZERO_INIT_ARRAY(char, hardwareFeatureName, HARDWARE_FEATURE_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Set_Features_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5987:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5987 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6027:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6027 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6071:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6071 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6194 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6268 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6464:145: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6464 | static void get_ZAC_Management_In_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6485:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6485 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6539:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6539 | static void get_ZAC_Management_Out_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6626:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6626 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6680:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6680 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6688 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6696 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, NCQ_ZAC_MANAGEMENT_OUT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Receive_FPDMA_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6717:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6717 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6725:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6725 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtInString, NCQ_ZAC_MANAGEMENT_IN_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Send_FPDMA_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6757:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6757 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6765:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6765 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, SEND_FPDMA_ZAC_MANAGEMENT_OUT_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Command_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6977:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6977 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7564:123: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7564:183: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7571 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7572:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7572 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7892:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7892 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7951:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7951 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8013:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8013 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Summary_SMART_Error_Log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8151:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8151 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8185:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8185 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8218:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8218 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[92/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -15913,48 +17417,79 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: +../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[97/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 107 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 113 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 114 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 115 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 116 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 117 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 118 | CHILD_NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~ +[93/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[94/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -16183,16 +17718,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: -../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 91 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 78 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -16200,8 +17735,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 92 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 79 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -16209,8 +17744,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 93 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 80 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -16218,47 +17753,14 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 94 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 81 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 112 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2155 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2156 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2212 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[98/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[95/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Info.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -16487,47 +17989,45 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[99/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[100/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../utils/C/openSeaChest/openSeaChest_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 82 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 83 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 84 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 85 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[96/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -16797,11 +18297,14 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[101/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[97/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/drive_info.c:15: +[98/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Format.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -17024,298 +18527,67 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/drive_info.c:14: -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_ATA_Drive_Info_From_Identify’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:692:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 692 | DECLARE_ZERO_INIT_ARRAY(char, ncqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1223:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1223 | DECLARE_ZERO_INIT_ARRAY(char, tcqFeatureString, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:1612:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1612 | DECLARE_ZERO_INIT_ARRAY(char, trimDetails, 30); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_Security_Features_From_Security_Protocol’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:2620:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2620 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:2901:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2901 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_SCSI_Inquiry_Data’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3083:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3083 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3465:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3465 | DECLARE_ZERO_INIT_ARRAY(char, unmapDetails, 48); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:3469:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3469 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4363:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, listOfModePagesAndSubpages, 512);//allow 10 entries in the list...update the loop condition below if this is adjusted - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4461:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecovery, 12 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4628:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4628 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rigidGeometry, 24 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4671:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4671 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingPage, 20 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4765:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4765 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlPage, MP_CONTROL_LEN + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4815:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4815 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlExtensionPage, MP_CONTROL_EXTENSION_LEN + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4921:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4921 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ioAdviceHints, 1040 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:4977:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4977 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pataControl, 8 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5017:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5017 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5053:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5053 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5185:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5185 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5286:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5286 | DECLARE_ZERO_INIT_ARRAY(uint8_t, protocolSpecificPort, LEGACY_DRIVE_SEC_SIZE + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5398:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5398 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditions, 40 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5552:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5552 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditions, 16 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5602:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5602 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 12 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5632:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5632 | DECLARE_ZERO_INIT_ARRAY(char, temp, MAX_FEATURE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:5646:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5646 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundControl, 16 + SCSI_MODE_PAGE_MIN_HEADER_LENGTH);//need to include header length in this - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘get_NVMe_Controller_Identify_Data’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6464:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6464 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostIdentifier, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6515:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6515 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6583:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6583 | 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/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_Format.c:18: +../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6803:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6803 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSMARTData, 512); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/drive_info.c: In function ‘print_NVMe_Device_Information’: +../utils/C/openSeaChest/openSeaChest_Format.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6933:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6933 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zero128Bit, 16); +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6949:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6949 | DECLARE_ZERO_INIT_ARRAY(char, mTotalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6950:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6950 | DECLARE_ZERO_INIT_ARRAY(char, totalCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6959:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6959 | DECLARE_ZERO_INIT_ARRAY(char, mUnCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:6960:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6960 | DECLARE_ZERO_INIT_ARRAY(char, unCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7092:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7092 | DECLARE_ZERO_INIT_ARRAY(char, unitReadString, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7099:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7099 | DECLARE_ZERO_INIT_ARRAY(char, unitWrittenString, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7137:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7137 | DECLARE_ZERO_INIT_ARRAY(char, mSizeUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7138:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7138 | DECLARE_ZERO_INIT_ARRAY(char, sizeUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7149:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7149 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7150:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7150 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7161:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7161 | DECLARE_ZERO_INIT_ARRAY(char, mUtilizationUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7162:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7162 | 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:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7245:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7245 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7246 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7870:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7870 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/drive_info.c:7883:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7883 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[102/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ + 96 | PATTERN_VARS + | ^~~~~~~~~~~~ +[99/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_EULA.c.o -MF openSeaChest_NVMe.p/src_EULA.c.o.d -o openSeaChest_NVMe.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[100/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_openseachest_util_options.c.o -MF openSeaChest_Format.p/src_openseachest_util_options.c.o.d -o openSeaChest_Format.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Logs.c:21: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -17544,52 +18816,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: -../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[103/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[104/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[101/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -17818,57 +19086,148 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: +../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[105/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[106/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[107/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 -[108/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c +../utils/C/openSeaChest/openSeaChest_Configure.c:86:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 86 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:87:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 87 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 88 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 89 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1967:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1967 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:125:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ + 125 | SCSI_SET_MP_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:906:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 906 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2164:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2164 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2167:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2167 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2170:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2170 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2173:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2173 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2176:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2176 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2179:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2179 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2182:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2182 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2185:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2185 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2188:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2188 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2191:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2191 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3402:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3402 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3403:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3403 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3459 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[102/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/smart.c:17: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18091,580 +19450,105 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/smart.c:16: -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1082:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1082 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1193:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1193 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1194 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1195:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1195 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1196:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1196 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1197:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1197 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1198:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1198 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1337:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1337 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2394:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2394 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2545:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2545 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2589:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2589 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2669:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2669 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2695:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2695 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3036:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3198:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, MP_INFORMATION_EXCEPTIONS_LEN + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3226:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3264:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3264 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pendingLog, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Grown_List_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3291:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3291 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3326:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3326 | DECLARE_ZERO_INIT_ARRAY(uint8_t, defectData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘sct_Get_Min_Recovery_Time_Limit’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3652:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3652 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Attribute_Autosave’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3919:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3919 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘enable_Disable_SMART_Auto_Offline’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3946:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3978:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3978 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Summary_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4384:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4384 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, ATA_LOG_PAGE_LEN_BYTES); //This log is only 1 page in spec - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_Comprehensive_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4509:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Read_Write_Command_Info’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4834:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4834 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4850:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4850 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:4855:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 4855 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:4974:135: note: in expansion of macro ‘M_ATTR_UNUSED’ - 4974 | static void get_GPL_Log_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4978:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4978 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5114:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5114:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5114 | static void get_Download_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5119:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5119 | DECLARE_ZERO_INIT_ARRAY(char, subCommandName, DOWNLOAD_COMMAND_SUBCOMMAND_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Trusted_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5150:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5150 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:71: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:108: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:141: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5230:185: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5230 | static void get_SMART_Offline_Immediate_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, M_ATTR_UNUSED uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: +../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5233:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5233 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5298:57: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5298:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5298 | static void get_SMART_Log_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH], const char *smartSigValid) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 107 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5301:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5301 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, SMART_LOG_ADDRESS_NAME_LENGTH); +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 108 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5463 | DECLARE_ZERO_INIT_ARRAY(char, smartSigValid, SMART_SIGNATURE_VALIDITY_LENGTH); +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5545:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5545:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5545 | static void get_Sanitize_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 109 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5557:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5557 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5624:59: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5624:145: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5624 | static void get_DCO_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5653:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5653 | static void get_Set_Max_Address_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:71: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:108: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:157: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5711:185: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5711 | static void get_Idle_Or_Standby_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, M_ATTR_UNUSED uint16_t features, uint16_t count, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 110 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5714:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5714 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); +../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5777:64: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5777:150: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5777 | static void get_NV_Cache_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5856:60: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5856:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5856 | static void get_AMAC_Command_Info(const char* commandName, M_ATTR_UNUSED uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5875:137: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5875 | static void get_Zeros_Ext_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ + 118 | PATTERN_VARS + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5894:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5894 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 133 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:5921:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5921 | DECLARE_ZERO_INIT_ARRAY(char, hardwareFeatureName, HARDWARE_FEATURE_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Set_Features_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5987:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5987 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6027:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6027 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6071:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6071 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6194:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6194 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6268 | DECLARE_ZERO_INIT_ARRAY(char, powerSourceString, POWER_SOURCE_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6464:145: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6464 | static void get_ZAC_Management_In_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6485:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6485 | DECLARE_ZERO_INIT_ARRAY(char, reportOptionString, ZONE_REPORT_OPTIONS_STRING_LENGTH); +../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6539:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6539 | static void get_ZAC_Management_Out_Command_Info(const char* commandName, uint8_t commandOpCode, uint16_t features, uint16_t count, uint64_t lba, M_ATTR_UNUSED uint8_t device, char commandInfo[ATA_COMMAND_INFO_MAX_LENGTH]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6626:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6626 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6680:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6680 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6688 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6696 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, NCQ_ZAC_MANAGEMENT_OUT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Receive_FPDMA_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6717:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6717 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6725:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6725 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtInString, NCQ_ZAC_MANAGEMENT_IN_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Send_FPDMA_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6757:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6757 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6765:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6765 | DECLARE_ZERO_INIT_ARRAY(char, ncqZacMgmtOutString, SEND_FPDMA_ZAC_MANAGEMENT_OUT_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Command_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6977:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6977 | DECLARE_ZERO_INIT_ARRAY(char, uncorrectableOptionString, UNCORRECTABLE_OPTION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7564:123: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7564:183: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7564 | static void get_Error_Info(uint8_t commandOpCodeThatCausedError, uint8_t commandDeviceReg, uint8_t status, uint8_t error, M_ATTR_UNUSED uint16_t count, uint64_t lba, uint8_t device, M_ATTR_UNUSED uint8_t transportSpecific, char errorInfo[ATA_ERROR_INFO_MAX_LENGTH + 1]) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7571:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7571 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7572:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7572 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7892:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7892 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7951:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7951 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8013:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8013 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Summary_SMART_Error_Log’: +../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8151:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8151 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); +../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8185:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8185 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8218:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8218 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); +../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[109/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[103/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -18934,11 +19818,17 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[110/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[104/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[105/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_EULA.c.o -MF openSeaChest_PowerControl.p/src_EULA.c.o.d -o openSeaChest_PowerControl.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[106/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_NVMe.c:19: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19167,61 +20057,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_NVMe.c:17: -../utils/C/openSeaChest/openSeaChest_NVMe.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:86:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 86 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:90:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 90 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:92:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 92 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:103:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 103 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:1230:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1230 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_NVMe.c:1548:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1548 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[111/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[107/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: + from ../utils/C/openSeaChest/openSeaChest_Logs.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19450,22 +20327,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: -../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Logs.c:19: +../utils/C/openSeaChest/openSeaChest_Logs.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 107 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 84 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19473,8 +20344,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 108 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 85 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19482,8 +20353,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 109 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 86 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19491,62 +20362,17 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 110 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 87 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ - 118 | PATTERN_VARS - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 133 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[112/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[108/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[109/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19775,49 +20601,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: -../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 76 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 77 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 78 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 79 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[113/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[110/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Security.c:20: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/device_statistics.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -20040,82 +20865,149 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: -../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: +In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ +../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 97 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 98 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ +../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 99 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 100 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 129 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); +../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); +../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); +../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[114/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../subprojects/opensea-operations/src/device_statistics.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) + | ^~~~~~~~~~~~~ +[111/148] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o +[112/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_NVMe.c:19: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -20344,48 +21236,64 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_NVMe.c:17: +../utils/C/openSeaChest/openSeaChest_NVMe.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[115/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c +../utils/C/openSeaChest/openSeaChest_NVMe.c:86:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 86 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:90:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 90 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:92:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 92 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:103:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 103 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:1230:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1230 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_NVMe.c:1548:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1548 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[113/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[114/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -20614,45 +21522,47 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 76 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 77 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 78 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 79 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[116/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[115/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[116/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -MF openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o.d -o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -20922,11 +21832,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[117/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[117/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -21155,148 +22065,51 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: -../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:86:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 86 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:87:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 87 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 88 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 89 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1967:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1967 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:125:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ - 125 | SCSI_SET_MP_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:906:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 906 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2164:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2164 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2167:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2167 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2170:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2170 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2173:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2173 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2176:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2176 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2179:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2179 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2182:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2182 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2185:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2185 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2188:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2188 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2191:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2191 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3402:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3402 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3403:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3403 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3459:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3459 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[118/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[118/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[119/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -21525,48 +22338,49 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: +../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[119/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../utils/C/openSeaChest/openSeaChest_Reservations.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 76 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 77 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 78 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 79 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[120/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -21795,44 +22609,57 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:17: +../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[120/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 72 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 73 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 74 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 75 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 95 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ +[121/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_EULA.c.o -MF openSeaChest_ZBD.p/src_EULA.c.o.d -o openSeaChest_ZBD.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[122/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_openseachest_util_options.c.o -MF openSeaChest_Raw.p/src_openseachest_util_options.c.o.d -o openSeaChest_Raw.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -22102,11 +22929,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[121/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[123/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Security.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22335,48 +23162,79 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: +../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[122/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 97 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 98 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 99 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 100 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 129 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[124/148] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[125/148] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[126/148] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[127/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22605,16 +23463,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:17: -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: +../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 72 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 78 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22622,8 +23480,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 73 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 79 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22631,8 +23489,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 74 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 80 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22640,23 +23498,54 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 75 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 81 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 95 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ -[123/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2119:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2119 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2120:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2120 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2217:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2217 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2218:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2218 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2858:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2858 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2979:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2979 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[128/148] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[129/148] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[130/148] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[131/148] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[132/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sat_helper.c:15: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22801,843 +23690,132 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Registers’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 723 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:771:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 771 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:781:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 781 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/sat_helper.c:14: -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_For_Translation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:1474:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1474 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘set_Sense_Data_By_RTFRs’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:1702:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1702 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationSenseDescriptor, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Information_VPD_Page_89h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2168:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2168 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataInformation, 572); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2237:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2237 | DECLARE_ZERO_INIT_ARRAY(char, openseaVersionString, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Unit_Serial_Number_VPD_Page_80h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, unitSerialNumber, 24); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2381 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Device_Identification_VPD_Page_83h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, t10VendorIdDesignator, 72); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2419 | DECLARE_ZERO_INIT_ARRAY(char, ataModelNumber, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2420:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2420 | DECLARE_ZERO_INIT_ARRAY(char, ataSerialNumber, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2431:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2431 | DECLARE_ZERO_INIT_ARRAY(char, scsiNameString, SAT_SCSI_NAME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Device_Characteristics_VPD_Page_B1h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2530:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteriticsPage, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Power_Condition_VPD_Page_8Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2583:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, 1024);//currently, this log is only two pages long and we want to read both for the data we're filling in-TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2587:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2587 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionPage, 18); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Logical_Block_Provisioning_VPD_Page_B2h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2700:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2700 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Block_Limits_VPD_Page_B0h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2747:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockLimits, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Page_Policy_VPD_Page_87h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2857:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2857 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modePagePolicy, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Zoned_Block_Device_Characteristics_VPD_Page_B6h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2940:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2940 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceInformation, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:2946:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2946 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zonedDeviceCharacteristics, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Extended_Inquiry_Data_VPD_Page_86h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3003:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiry, 64); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3034:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_VPD_Pages_00h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3068:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Inquiry_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3151:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3151 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3268:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3268 | DECLARE_ZERO_INIT_ARRAY(uint8_t, inquiryData, 96); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3273:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3273 | DECLARE_ZERO_INIT_ARRAY(char, ataSN, ATA_IDENTIFY_SN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3274:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3274 | DECLARE_ZERO_INIT_ARRAY(char, ataMN, ATA_IDENTIFY_MN_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3275:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3275 | DECLARE_ZERO_INIT_ARRAY(char, ataFW, ATA_IDENTIFY_FW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Capacity_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3496:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3496 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3707:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3707 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_ATA_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3777:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3777 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:3885:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, response, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4064:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4064 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataReturnDescriptor, 15);//making this 1 byte larger than it needs to be. This is done so that the log index can be set for fixed format sense data. - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4236:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Same_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4371:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4371 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4466:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4466 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pattern, 4);//32bits set to zero - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Synchronize_Cache_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4540:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Verify_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4601:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4601 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_And_Verify_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4709:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4709 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Format_Unit_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:4996:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4996 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Test_Unit_Ready_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5410:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5410 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Reassign_Blocks_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5491:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5491 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_In_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5591:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5591 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5660:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5660 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInformation, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Security_Protocol_Out_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:5941:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5941 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6005:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6005 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityCommandBuffer, LEGACY_DRIVE_SEC_SIZE);//for use in ATA security commands that transfer data - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Long’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6204:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6204 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Sanitize_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6381:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6381 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Buffer_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6679:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6679 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6734:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6734 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readBufferDescriptor, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6760:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, gplDirectory, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:6789:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6789 | DECLARE_ZERO_INIT_ARRAY(uint8_t, errorHistoryData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Send_Diagnostic_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7034:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7034 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7130:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Luns_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7223:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7223 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLunsData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7224:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7224 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Request_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7290:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7290 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7293:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7293 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7408:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7408 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Write_Buffer_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7463:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7463 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7605:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 7605 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Start_Stop_Unit_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7724:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7724 | DECLARE_ZERO_INIT_ARRAY(uint8_t, powerConditionsLog, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:7725:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7725 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7893:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 7893 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:7968:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 7968 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Supported_Log_Pages’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8342:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8342 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, LEGACY_DRIVE_SEC_SIZE);//this should be plenty big for now - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Informational_Exceptions_Log_Page_2F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8430:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8430 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptions, 11); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8458:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Self_Test_Results_Log_0x10’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8503:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8503 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResults, 404); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8505:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8505 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8529:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8529 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extSelfTestLog, LEGACY_DRIVE_SEC_SIZE);//2 sectors in size in case we need to read 2 pages of the log - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8741:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8741 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestLog, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Read_Error_Counters_Log_0x03’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readErrorCountersLog, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8926:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8926 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:8932:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8932 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Temperature_Log_0x0D’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9016:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9016 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temperatureLog, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9019:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9019 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9023:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9023 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Solid_State_Media_Log_0x11’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, solidStateMediaLog, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9113:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9113 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9116:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9116 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Background_Scan_Results_Log_0x15’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9176:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9176 | DECLARE_ZERO_INIT_ARRAY(uint8_t, backgroundResults, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9179:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9179 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9182:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9182 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_General_Statistics_And_Performance_Log_0x19’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9251 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStatisticsAndPerformance, 72); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9254:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9254 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9260:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9260 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_ATA_Passthrough_Results_Log_Page_16’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9369:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9369 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPassthroughResults, 274);//15 (number of results) * (14 + 4) (size of pass-through results descriptor and parameter header) + 4 (log header) - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Sense_0x0F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9427:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9427 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9456 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9610:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Application_Client_Log_Select_0x0F’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9924:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9924 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:9943:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9943 | DECLARE_ZERO_INIT_ARRAY(uint8_t, hostLogData, 16 * LEGACY_DRIVE_SEC_SIZE);//this memory should be all zeros, but doing a memset to be certain - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Log_Select_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10228:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10228 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Unmap_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Control_0Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:10639:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10639 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Sense_Power_Condition_1A’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11007:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11007 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataPowerConditionsLog, 2 * LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Sense_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11690:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11690 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBlockDescriptor, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11691:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11691 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterHeader, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11693:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11693 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:11838:13: note: in expansion of macro ‘M_FALLTHROUGH’ -11838 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Caching_08h’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:11950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -11950 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Control_0Ah’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12083:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_Power_Conditions_1A’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12190:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12190 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12248:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12248 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcLog, LEGACY_DRIVE_SEC_SIZE * 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_Mode_Select_ATA_Power_Condition_1A_F1’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12729:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12729 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Mode_Select_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:12798:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -12798 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_In_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13238:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13238 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Zone_Management_Out_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13380:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13380 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Set_Timestamp_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13458:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13459:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13459 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Timestamp_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13509:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuf, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13510:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, generalStats, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13512:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13512 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Read_Media_Serial_Number_Command’: +../utils/C/openSeaChest/openSeaChest_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 76 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13578:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 77 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13579:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13579 | DECLARE_ZERO_INIT_ARRAY(uint8_t, mediaSerialNumberPage, 65); +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 78 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:13608:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -13608 | DECLARE_ZERO_INIT_ARRAY(char, ataMediaSN, 61); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘check_Operation_Code_and_Service_Action’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:14631:17: note: in expansion of macro ‘M_FALLTHROUGH’ -14631 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c:14631:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] -14631 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/sat_helper.c:14633:17: note: in expansion of macro ‘M_FALLTHROUGH’ -14633 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c:14633:30: warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] -14633 | M_FALLTHROUGH; - | ^ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Report_Supported_Operation_Codes_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16275:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16275 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sat_helper.c: In function ‘translate_SCSI_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16401:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16401 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16412:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16412 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16716:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16716 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sat_helper.c:16723:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -16723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[124/148] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -[125/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 79 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[133/148] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[134/148] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[135/148] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[136/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -23907,11 +24085,14 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[126/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +[137/148] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[138/148] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[139/148] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[140/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_openseachest_util_options.c.o -MF openSeaChest_Security.p/src_openseachest_util_options.c.o.d -o openSeaChest_Security.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:21: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24140,55 +24321,49 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: -../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:81:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 81 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:82:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 82 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 83 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 84 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:2098:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2098 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[127/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[141/148] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[142/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24417,48 +24592,207 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:18: +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[128/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 273 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 274 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 275 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 276 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[143/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:20: + from ../utils/C/openSeaChest/openSeaChest_SMART.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24687,16 +25021,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: -../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: +../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 78 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_SMART.c:81:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 81 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -24704,8 +25038,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 79 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_SMART.c:82:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 82 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -24713,8 +25047,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 80 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 83 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -24722,50 +25056,21 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 81 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 84 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2119:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2119 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2120:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2120 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2217:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2217 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2218:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2218 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2858:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2858 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2979:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2979 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[129/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c +../utils/C/openSeaChest/openSeaChest_SMART.c:2098:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2098 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[144/148] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[145/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24994,207 +25299,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:18: -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 273 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 274 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 275 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 276 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[130/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[146/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/precision_timer.h:20, - from ../subprojects/opensea-operations/src/device_statistics.c:17: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -25417,163 +25563,53 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: -../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) - | ^~~~~~~~~~~~~ -[131/148] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -[132/148] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[133/148] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[134/148] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[135/148] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[136/148] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[137/148] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[138/148] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[139/148] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[140/148] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[141/148] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[142/148] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[143/148] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[144/148] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[145/148] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[146/148] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[147/148] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[148/148] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[147/148] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[148/148] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -Wformat -Werror=format-security -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-i686-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=22 meson test + cd obj-i686-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=10 meson test No tests defined. create-stamp debian/debhelper-build-stamp dh_prep @@ -25632,8 +25668,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'openseachest-dbgsym' in '../openseachest-dbgsym_24.08.1-1_i386.deb'. dpkg-deb: building package 'openseachest' in '../openseachest_24.08.1-1_i386.deb'. +dpkg-deb: building package 'openseachest-dbgsym' in '../openseachest-dbgsym_24.08.1-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../openseachest_24.08.1-1_i386.buildinfo dpkg-genchanges --build=binary -O../openseachest_24.08.1-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -25641,12 +25677,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/64049/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/64049/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/44155 and its subdirectories -I: Current time: Thu Jan 1 22:55:10 -12 2026 -I: pbuilder-time-stamp: 1767351310 +I: removing directory /srv/workspace/pbuilder/64049 and its subdirectories +I: Current time: Sat Nov 30 18:34:19 +14 2024 +I: pbuilder-time-stamp: 1732941259